I have added a product grid with a border but it isn’t centered.
Ideally, i would like the grid to bleed out to the edge?
Is this possible?
Thanks!!
Goal: center a Shopify product grid with a border and ideally make it edge-to-edge (full width).
What was shared:
Proposed solutions (implemented via Edit code > theme.liquid, before ):
Open questions / latest update:
Status:
I have added a product grid with a border but it isn’t centered.
Ideally, i would like the grid to bleed out to the edge?
Is this possible?
Thanks!!
@visualess Hey, thanks for posting here.
can you please share the link to inspect it, thanks.
Hey @visualess
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
password: 44444
Hello @visualess
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
@visualess put this in css code :
.collection .grid {
justify-content: center;
}
Is there a way to make it so that the mobile version still stacks as a 2 product grid instead of 4?
Is there a way to make it so that the mobile version still stacks as a 2 product grid instead of 4?