• Whenever you click an image in the gallery, a lightbox pops up with an entirely black background.

    How could I change the background color and opacity? I’d like to change it to white with 50% opacity

Viewing 1 replies (of 1 total)
  • Plugin Author nK

    (@nko)

    Hi.

    You can add custom CSS. Something like this one:

    .vp-pswp .pswp__bg {
        background: rgba(255, 255, 255, 0.85);
    }
    

    The only problem with the white background is that icons on the top bar are also white.

    Regards, nK.

Viewing 1 replies (of 1 total)

The topic ‘Change lightbox background?’ is closed to new replies.