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!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025