On collection page, my product grid has gap on both side. I want to increase the width of this product grid, so that my product images get bigger.
Can anyone guide me to it?
saucypeach .com
A user wants to expand their product grid to full width on collection pages in the Testament theme, eliminating gaps on both sides to make product images larger.
Solution provided:
#main-collection-form .grid__wrapper with max-width: 100% and width: 100%!important declarations to ensure the styles override existing rulesOn collection page, my product grid has gap on both side. I want to increase the width of this product grid, so that my product images get bigger.
Can anyone guide me to it?
saucypeach .com
In “Customize” you can paste this code into product grid section “Custom CSS” setting:
#main-collection-form .grid__wrapper {
max-width: 100%;
width: 100%;
}
If you use the code elsewhere, you’d need to add !important for each property:
#main-collection-form .grid__wrapper {
max-width: 100% !important;
width: 100% !important;
}