Why is my PNG file not transparent in Testament theme 2.0?

Hi,

I updated the Testament theme from Shopify OS 1.0 to 2.0 and when I upload now my PNG files they are not anymore transparent. I tried already editing the code with background-color: transparent; opacity: 0 etc., but nothing worked out.

Is this a common problem? or does anyone have an idea how to fix it?

The store is not released yet.

Thanks,

Marius

@huks

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

Are you able to access this page: https://6tqwc6cx0tuam69h-43641700501.shopifypreview.com ?

It’s the green section on the start page. You will most probably recognize it because there are white images on a green background.

Thank you so much

Open the file Assets/stylesheet.css (or stylesheet.css.liquid) in the code editor and add this code at the bottom of the file:

.box-ratio {
  background-color: transparent;
}
.box-ratio img {
  background-color: transparent;
}

@huks

thanks bt i can see all good