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.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024