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);
}