• Goodnight

    I would like to change the opacity of the background from 1 to 0.8, it is in the class “pswp__bg” but no matter how hard I try, I can not change it

    I hope you can help me, thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Changing the opacity of pswp_bg will also make the the image opaque. I’m assuming you only want to make the white background transparent?

    Just add the below code to your css style sheet. May need to use !Important if that doesnt work. However adding the id should be sufficient enough.

    #wooswipe .pswp__bg {
    background: rgba(255, 255, 255, 0.8);
    }

    Thread Starter aaah65

    (@aaah65)

    thank you very much for your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘change opacity to the background’ is closed to new replies.