Hello,
Does anyone know how you to centralise the product tiles on the collection page? So the single product on its own is in the centre rather than to the left hand side.
https://altitudesupplements.com/collections/frontpage
Thanks
A user seeks help centering product tiles on their Shopify collection page, where a single product currently aligns to the left instead of center.
Multiple solutions offered:
.collection-grid or .collection .grid with justify-content: center properties<style> code above the </body> tag in the theme.liquid filejustify-content: center !important to the .container class in the CSS fileImplementation steps generally involve:
Responses include code examples and screenshots demonstrating the centered result. The discussion remains open with no confirmation from the original poster about which solution worked.
Hello,
Does anyone know how you to centralise the product tiles on the collection page? So the single product on its own is in the centre rather than to the left hand side.
https://altitudesupplements.com/collections/frontpage
Thanks
Hi,
Hope this will help
Add Custom CSS
Css code example
.collection-grid {
display: flex;
justify-content: center;
}
If It Doesn’t Work
try this code
.collection .grid {
justify-content: center;
text-align: center;
}
Hey @teebey
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @teebey
To make a single product center instead of left aligned use the code below
.container {
justify-content: center !important;
}
hi Teebey @teebey Check out the steps and code in this guide here https://www.hulkapps.com/blogs/shopify-hub/the-ultimate-guide-to-centering-product-titles-in-shopify#section3
I’m pretty confident that it should work for you.