Why do some uploaded product images have a black background?

Hi,

I have some issues with some packshots of products I am uploading getting black background. Does anyone know how to fix this?

Hello @Nuffe ,

You can change the background color by following these steps:

  • Go to Online Store → Themes → Actions → Edit code

  • Go to Sections folder → main-product.liquid file → add this following code
.your-image-class {
  background-color: #ffffff;
}
  • Save and preview

Hope this can be helpful for you. Let we know if you need any further support.

Ali Reviews team.

Thank you so much for helping! I only have these as product - where do I put it? I use the theme Prestige :slightly_smiling_face:

Hello @Nuffe ,

The file may not have the exact same name but it will be something similar, you can try to find in the theme.liquid file

So I can just put the code here:

Can I put it here? :