Tagged: lightbox background
I was wondering if there is a way to change the lightbox background colour from default black to white for any of the photo galleries.
Currently, when someone clicks on a thumbnail and opens a lightbox, the background behind the large image is black. I have a client who would like to have it white.
Is there quick CSS code I can add in that would allow this.
Many thanks
Ivana
Hey Ivana,
Please provide a link to the site/page in question so we can look into this issue further.
Best regards,
Jordan Shannon
Thank you Jordan. Please see below. I have created two test galleries and on both it has the same effect, that is when I click on the image, it opens the lightbox, which has a black opaque background. My client would like it to be white.
Hi,
Please try the following in Quick CSS under Enfold->General Styling:
.mfp-bg {
background: #fff;
}
Best regards,
Rikard
Thank you Rikard. That did the trick. Greatly appreciate your help.