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

    (@awelzel)

    The background is styled with the CSS class pswp__bg. So you might add this to your theme CSS rules to change the opacity:

    .pswp__bg {
      opacity: 0.5 !important;
    }

    The !important attribute is needed since the background is faded in and out by changing the opacity.

    However, the top and bottom bars for the caption can not be changed that easily. Maybe you have to provide a custom markup for the lightbox as well as described in the FAQ and design your own CSS rules for that.

    Thread Starter liliyalyfar

    (@liliyalyfar)

    Great, thank you !!!
    It works for me.
    I also wanted to ask …
    You have different versions of css
    for example with a side column and painting of the picture and others?

    Plugin Author Arno Welzel

    (@awelzel)

    Sorry, there is only the CSS and markup as provided in the plugin. There are no other layouts available. The difference between the “skins” is just the iconset in the top bar and the opacity of the bars and buttons.

    If you need a different layout you have to create your own custom markup as described in the FAQ.

    Thread Starter liliyalyfar

    (@liliyalyfar)

    Thanks you !
    I don’t understand much сss
    But I will try it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘transparent background’ is closed to new replies.