Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
https://peruginiabbigliamento.com/products/sneakers-stella-gold-gold-art-b22-gb599
I have an issue with product images backgrounds, up here there is an example. Those images are in PNG as you can see, and when you are in the product there aren't issues at all. The problem is when you look at the product from the suggested products sections under a product page: the theme shows a white background instead of a pure png, that is exactly what I'm trying to avoid.
The problem is the same if I search the shoe in the search bar.
Can someone help me?
Your img element has css added to give it a background colour. Adding this to the bottom of your stylesheet may help - but be sure to test to make sure it doesn't effect other parts of the site you didn't exist. If it does effect other things we'll need to make the css reference more specific.
/* remove the background color from the img in grid views */
.box-ratio img { background:none }
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