1. Knowledge Base
  2. Multiple Themes
  3. CSS Snippets
  4. Change Lightbox Background Color
  1. Knowledge Base
  2. Multiple Themes
  3. Change Lightbox Background Color

To change the background color when opening an image in a lightbox, you can add the following to your custom css box in Theme Options:

.mfp-container {    
background: rgba(155,155,155,.4); 
}

Was this article helpful?

Related Articles