Are you referring to the background in the lightbox? Please provide a URL for the site where you are looking to make the change.
Thread Starter
Dirk
(@dirkhag)
Yes, the background color in the lightbox…here the link to my website….
https://dzimages.de/st-hedwig-inside/
You can try this:
.vbox-backdrop { background-color: rgba(255, 255, 255, 0.8) !important; }
The first 3 parameters of rgba
are the Red, Green and Blue components (they can take a value ranging from 0 to 255), and the 4th is a transparency value (0 is transparent, 1 is opaque).
Thread Starter
Dirk
(@dirkhag)
Ok, thank you…this is working….can I set the color of the cross (upper right corner) and the number of the image (upper left corner) independently? Otherwise it is hard to recognise when choosing white background!
Not sure if this will work:
.vbox-overlay { --vb-tools-color: #333 !important; }
Thread Starter
Dirk
(@dirkhag)
No, this doesn’t work, sorry.
Thread Starter
Dirk
(@dirkhag)
Expected RBRACE at line 21…..says my CSS editor
It should be --vbox-toools-color
, not --vb-tools-color
Thread Starter
Dirk
(@dirkhag)
Perfect, thank you so much for your help….very kind of you!
Thread Starter
Dirk
(@dirkhag)
Sorry, one last question….how can I change the color of the caption text?
Thread Starter
Dirk
(@dirkhag)
No worries….have the solution meanwhile and know how to get the css-commmands.