Title: Change the background while using Lightbox
Last modified: August 21, 2016

---

# Change the background while using Lightbox

 *  [volkskamera](https://wordpress.org/support/users/pixel24/)
 * (@pixel24)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/change-the-background-while-using-lightbox/)
 * Hi there, i’m using Nextgen Gallery 2.0.33 on WordPress 3.7.1
 * Everything works so far, but i would like to have the webpage in the background
   a bit darker using Lightbox.
    Unfortunately i did not find any seetings or hints
   in one of the files to get the site a bit darker.
 * Any ideas are much appreciated.
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [tizz](https://wordpress.org/support/users/tizz/)
 * (@tizz)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/change-the-background-while-using-lightbox/#post-4304173)
 * With CSS you can change the lightbox background color (if you need a hint for
   this, please post an URL), but change the color of the page, lightbox or not,
   it’s a question not much related to Nextgen support.
 *  Thread Starter [volkskamera](https://wordpress.org/support/users/pixel24/)
 * (@pixel24)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/change-the-background-while-using-lightbox/#post-4304221)
 * Nope, that is not what i asked for.
 * If a picture is shown in a lightbox, the page can be still seen in the background,
   but it’s going a bit darker.
 * This is what i wanted to change, not the website or lightbox background itself.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/change-the-background-while-using-lightbox/#post-4304225)
 * [@pixel24](https://wordpress.org/support/users/pixel24/) – As [@tizz](https://wordpress.org/support/users/tizz/)
   suggested we would definitely need more to go on (such as a link to one of your
   galleries with the Lightbox Effects active) so we could possibly make any suggestions.
 * Thanks!
 * – Cais.
 *  Thread Starter [volkskamera](https://wordpress.org/support/users/pixel24/)
 * (@pixel24)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/change-the-background-while-using-lightbox/#post-4304299)
 * Hi,
 * i think this is nothing theme related, but the settings/styles of the lightbox
   feature.
    Once an image is shown in lightbox, the webpage in the back is getting
   a transparent overlay. This is what i want to get a bit darker.
 * The site is not yet ready, will publish the link once it’s done.
 *  [tizz](https://wordpress.org/support/users/tizz/)
 * (@tizz)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/change-the-background-while-using-lightbox/#post-4304301)
 * [@pixel24](https://wordpress.org/support/users/pixel24/), *It’s not the page 
   below to become darker*, it’s the lightbox background that can be more or less
   dark, or any color you want, even yellow, green or blue.
    So, if you can’t publish
   the page, try it yourself with Firebug, it’s very easy. The CSS selector change
   in relation to the chosen lightbox effect, e.g., if you have shutter on, the 
   code will be: `div#shShutter {background-color: #000;}` But I believe that black
   it’s the default color (at least for shutter, I’m not going to check now for 
   the others) and of course the lightbox effect color depends also from the color
   of the page below, so if you want a darker color, and you don’t want to change
   you page color, you have to change lightbox opacity, e.g., if it’s 0.8 change
   to 0.9 or 1, that’s total black, no transparency.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Change the background while using Lightbox’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [tizz](https://wordpress.org/support/users/tizz/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/change-the-background-while-using-lightbox/#post-4304301)
 * Status: not resolved