Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1070104

    Good evening folks,

    new question: how can I change the background-colour of the lightbox?

    I want to change the back-colour and the transparancy. If my question
    is not clear, please take a look on the screenshot.

    Thx for your help!

    Best regards
    Carsten

    #1070111

    i think it is set by:
    on default it is black and opacity of 0.8

    .mfp-zoom-in.mfp-ready.mfp-bg {
        opacity: 1;
        background-color: #900;
    }

    btw. the size of the lightbox is defined over max-width:

    .mfp-iframe-holder .mfp-content {
        max-width: 80vw !important;
    }
    • This reply was modified 5 years, 10 months ago by Guenni007.
    #1070121

    Good evening Guenni007,

    thx for your fast answer and help…very kind from you! :-)

    It works good! But I’m not quiet sure why I should change
    the size of the lightbox? Is there a good reason to do that?
    And again – thx very much for your help!

    Best regards
    Carsten

    #1070703

    Hi Carsten,

    You don’t have to change it if you don’t need.

    Glad you got it working for you! :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.