Shopify themes, liquid, logos, and UX
I wnat to put no spaces between the grid of images. I've tried to change it through the design section, but it doesn't allow me to reduce it to less than 4 px. Could you provide me with the code to set that space to 0?
Solved! Go to the solution
This is an accepted solution.
Hi @NachoBCN12
Its the product grid you mean?
Then try this one.
.grid {
column-gap: 0px !important;
row-gap: 0px !important;
}
Hello @NachoBCN12
Its Artzen Technologies! We will be happy to help you today.
You can try to follow these steps:
Go to Online Store -> Themes -> Actions -> Edit code.
Go Assets folder -> theme.liquid file.
Add the following code in the bottom of the file above </body> tag
<style>
.product__media-wrapper ul.product__media-list.contains-media {
row-gap: 2px;
column-gap: 2px;
}
</style>
like this :-
Let me know if need further assistance
Regards,
Artzen Technologies
This is an accepted solution.
Hi @NachoBCN12
Its the product grid you mean?
Then try this one.
.grid {
column-gap: 0px !important;
row-gap: 0px !important;
}
And to delete the border of the images?? thank you very much!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025