• Resolved tyco72

    (@tyco72)


    Hello everybody,
    I would like to reduce (or disable) the transparency of the page in the background when the lightbox is open. I find that the page in the background (the gallery thumbnail) is way too much bright and it disturbs the enjoining of the larger photo which is being displayed in the lightbox.
    Is it possible to reduce or completely eliminate that tranpspareny adding some CSS code?

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter tyco72

    (@tyco72)

    Hi. Yes I have done as you told. I have written that it works, all ok.
    I just asked which code should be used to change only the opacity of the background, without to change also the default color.

    Hello @tyco72

    Yes, you can do this as well, just delete from the code I gave you the syntax:”background-color:yourcolor;”
    Let me know if everything worked well!

    Warmly,
    Marian

    Thread Starter tyco72

    (@tyco72)

    Hi Marian. Sorry, but maybe you have read my question too fast. I asked the opposite ??
    Change only the opacity, without to change the default color

    • This reply was modified 4 years, 1 month ago by tyco72.

    Hi again @tyco72

    Yes, you don’t necessarily have to change the background color, you can work in the same color, for example you can integrate the following code instead:

    .modula-fancybox-slide--image{
    opacity:0.7;
    }

    Instead of this piece of code that you have already entered

    .modula-fancybox-slide--image{
    background-color:yourcolor;
    opacity:0.7
    }

    I hope I clarified for you ??

    All the best,
    Marian

    Thread Starter tyco72

    (@tyco72)

    Hi Marian. It is strange, because the code with only the opacity doesn’t work:
    .modula-fancybox-slide–image{
    opacity:0.7;
    }

    If I change the 0.7 value, I see no difference. But don’t mind. The important is that at least in combination with the color command, it works. Thank you for your support.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Lightbox background transparency’ is closed to new replies.