Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    There is no option yet to customize the background opacity of PhotoSwipe easily in the backend settings. This may be supported in a future update.

    However you can use the web developer tools of your browser to examine the structure of an opened lightbox and add custom CSS styles in WordPress with the theme customizer. For example to get 75% opacity for the background:

    .pswp__bg {
        opacity: 0.75 !important;
    }
    Plugin Author Arno Welzel

    (@awelzel)

    Version 5.0.22 contains new options for PhotoSwipe 5:

    • Image padding
    • Background opacity

    So any manual CSS modifications should be removed since this may conflict with the background opacity setting (which is not just a simple CSS rule but an option in PhotoSwipe 5).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where can I modify’ is closed to new replies.