Shopify themes, liquid, logos, and UX
https://garcondemiel.com
How do i center my products in the collection tabs?
Current:
where i want them to be
Solved! Go to the solution
This is an accepted solution.
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.
This is an accepted solution.
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
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from Free plan. Live Chat Support is available 24/7.
The year-end shopping spree is around the corner! Is your online store ready for the ...
By JasonH Nov 10, 2024We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024