Why does my transparent image background appear grey on my page?

Hi!

I want to upload images with transparent background so it appears white on my page. However, when I upload them the background is grey.

I tried adding to my code:

.media–transparent { background-color: transparent !important; }

.media–transparent { background-color: #fff !important; }

.lazdy-image img { background-color: #fff !important; }

etc

but nothing seems to work

My page is https://www.injectual.com/

1 Like

Hi @Michau00 ,

Can you provide which image are your referring to?

Hi @Michau00 ,

Can you provide link to the page

Hi @Michau00

I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.

You need to edit and remove the gray background in all product images and then you can upload the images again then you can see the background white.

Regards,

San