Shopify themes, liquid, logos, and UX
Hello,
I have recently noticed many new small issues on my product images display on landing and collections page (not showing on products page!) : see below screenshot
1- i have these grey margins showing
2- I added labels but it shows double : on both frames of the grey margin and of the pictures
3 - there is this difference of position of the 3rd columms (depending of the size on my window sometimes higher sometimes below 2 first columms)
Website https://lechapeaumagique.com/
Can you help me with that, i am a very beginner on coding thing 🙂
Thank you
Solved! Go to the solution
This is an accepted solution.
Hi @Nath_ida
The labels you are getting twice its because they are called twice in the liquid code well the original way to make the mentioned changes was using the liquid code but somehow you can manage these using CSS code as well
Here is the CSS code you just need to put the code in
Theme -> code-editor -> base.css
.grid-view-item__image-wrapper { max-width: 100% !important; }
.grid-view-item__image-wrapper>div { padding: 0 !important; }
.grid-view-item__image-wrapper .grid-view-item__image { position: unset; max-width: 100% !important; max-height: 100% !important; }
.grid-view-item.product-card { margin: 0 !important; }
li.grid__item { margin-block: 20px; }
This is how it going to look after the CSS :
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
This is an accepted solution.
Hi @Nath_ida
The labels you are getting twice its because they are called twice in the liquid code well the original way to make the mentioned changes was using the liquid code but somehow you can manage these using CSS code as well
Here is the CSS code you just need to put the code in
Theme -> code-editor -> base.css
.grid-view-item__image-wrapper { max-width: 100% !important; }
.grid-view-item__image-wrapper>div { padding: 0 !important; }
.grid-view-item__image-wrapper .grid-view-item__image { position: unset; max-width: 100% !important; max-height: 100% !important; }
.grid-view-item.product-card { margin: 0 !important; }
li.grid__item { margin-block: 20px; }
This is how it going to look after the CSS :
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
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