Shopify themes, liquid, logos, and UX
Hello, I have made a grid using CSS but cannot find a way to fit each of my products into the separate containers. Originally my products look like the second photo, and I would like for it to look like this, but instead have it inside the layout of the grid I created (using up all the extra space). How do I go about doing this? Thanks!
Store link:https://ctrl7.com/collections/all
Password:first
Page: shop all
Solved! Go to the solution
This is an accepted solution.
You have a grid within a grid with a product-grid that is not a grid but a flexbox then with grid__item(s) that aren't grids but flexbox.
Fix every step along the chain to be sane:
.product-grid-container > .collection > #product-grid > .grid__item
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
You have a grid within a grid with a product-grid that is not a grid but a flexbox then with grid__item(s) that aren't grids but flexbox.
Fix every step along the chain to be sane:
.product-grid-container > .collection > #product-grid > .grid__item
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025