Tagged: background color, image, Lightbox
Hi,
I have an image with a transparent background and I’d like to keep it that way, but when it is opened in the lightbox it is a little difficult to see. Is there a way I can change the background color for only that image in the lightbox?
The image I am speaking of is the Trinity symbol here:
http://www.understandchristianity.com/the-basic-teachings-of-christianity/the-trinity/
Thanks!
Hi understandchristianity!
You can use following code in Quick CSS in Enfold theme options under General Styling tab to apply the changes only on lightbox on that certain page
.page-id-2465 img.mfp-img { background-color: white; padding: 10px; }
Cheers!
Yigit
Thanks, Yigit. That will work.