• Is it possible to change the background color of the lightbox feature?

    The background of the homepage is set to black but when I click an image it opens the lightbox with a white background.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author modernthemesnet

    (@modernthemesnet)

    You could add the following custom CSS:

    #gallery-container .content > div { background: #000; }

    Thanks!

    Thread Starter marcelvanm

    (@marcelvanm)

    Thanks, I found another way in the grid.css file.

    Hello ModernThemesNet

    I have the same problem with my Gridsby child theme (see there), I tried to add

    #gallery-container .content > div { background: #e6e6e6; }

    in custom CSS field (I assume this is the Simple Custom CSS plugin, right ?), but nothing changed.

    Then I added the same line in my child template’s style.css

    div.lightbox-content {
        background: #e6e6e6;
    }

    and only the block with featured image, title and text changed its background color, around it the lightbox is still white.

    I even tried

    div {
        background: #e6e6e6;
    }

    without any more success

    Any idea ?

    Marcelvanm, could you explain your other way ?

    Thanks for your help

    Theme Author modernthemesnet

    (@modernthemesnet)

    jeanba,

    Perhaps this code will work for you:
    .content > div.show { background: #000 !important; }

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