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
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024