Change Background Color Photoswipe WooCommerce 3

To change the background of WooCommerce 3 new photoswipe lightbox which appears in the single-product.php template, use the following CSS in your theme to invert the colors to white.

Background colors are inverted.

6 thoughts on “Change Background Color Photoswipe WooCommerce 3

  1. I searched 2 hours and finally you have the solution i also use transparent background

    for example

    .pswp__bg {background: rgba(0, 0, 0, 0.7);}

  2. Thank you very much, I’ve tried a lot of variations, but none of them worked and then I found your solution 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *