Hi there,
I would like to have my products cards when within each collection (bracelets / rings / necklaces / earrings) to fulfil the full width of the screen.
Is there anyone who could help me ?
Thanks
Emma
A user seeks to make product cards in their Dawn theme collections (bracelets, rings, necklaces, earrings) span the full screen width.
Solution Provided:
CSS Implementation:
The suggested code targets screens 768px+ and modifies the .collection .grid and .grid__item classes to achieve full-width display. The .grid__item width can be adjusted:
The discussion remains open as the original poster has not confirmed whether the solution resolved their issue.
Hi there,
I would like to have my products cards when within each collection (bracelets / rings / necklaces / earrings) to fulfil the full width of the screen.
Is there anyone who could help me ?
Thanks
Emma
Hello @Emma33000
In the Dawn theme, product cards within collections are typically constrained by a container, but we can modify the CSS and theme settings to make them span the full width. Hereβs how to do it:
Steps to Make Product Cards Full Width:
CSS Code to Make Product Cards Full Width
@media screen and (min-width: 768px) {
.collection .grid {
display: flex;
flex-wrap: wrap;
gap: 0; /* Remove gap if needed */
}
.collection .grid__item {
width: 100%; /* Make each item full width */
}
}
If you want multiple products in a row but still spanning the full width (instead of each product being full-width), adjust the .grid__item width to something like 50% (for 2 products per row) or 33.33% (for 3 per row).
Thank you ![]()