https://garcondemiel.com
How do i center my products in the collection tabs?
Current:
where i want them to be
https://garcondemiel.com
How do i center my products in the collection tabs?
Current:
where i want them to be
Hello @MerlijnMol , Please add the following CSS code to the bottom of your base.css file:
.collection #product-grid {
justify-content: center;
}
You can access the base.css file by following these steps:
Once you’ve added the CSS code, save your changes. If you need further assistance, feel free to reach out.
Thank you.
Hi @MerlijnMol
Check thiso one.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
ul#product-grid {
justify-content: center;
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @MerlijnMol ,
You can try this code by following these steps:
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file base.css or theme.css
Step 3: Insert the below code at the bottom of the file → Save
.product-grid-container:has(.collection) #product-grid {
justify-content: center;
}
Final Result:
Hope this can help you
Kind regards,
HDH-Shin
Hello @MerlijnMol
This is Amelia at PageFly - Shopify Advanced Page Builder app.
You can try the following steps I have provided to help you solve the problem you are facing:
Step 1: Online Stores > Themes > Edit code
Step 2: Choose file base.css or theme.css
Step 3: Add code
.collection #product-grid {
justify-content: center !important;
}
Hoping my solution helps you solve your problem.
Best regards,
Amelia | PageFly