Lightbox Background Color

How can I change the background from a complete takeover of black to white or even adjust the opacity to be able to see the website content through it?


Here is my public share link: LINK
(how to access public share link)

1 Like

Hi Jennifer,

there is no built in way to change the background color of the lightbox element. However, you could try add this code:

Or this one here:

This really seems like an easy thing to add (opacity setting and color picker).

3 Likes

Hi!!! This is a dumb question but where would I add the custom code? Or is there a better way to change the lightbox background colour now?

I’m having the same issue and here’s the link: https://preview.webflow.com/preview/claires-portfolio-2584d2?utm_medium=preview_link&utm_source=designer&utm_content=claires-portfolio-2584d2&preview=6bfff5311d3f7603e0add36f5dd19a90&pageId=62cbacb0aeebe9689e69921b&workflow=preview

The lightbox is on page Let’s Go all the way to the bottom titled “interaction flow lightbox” in the last section

Hey Claire,

Did you ever find a solution to this? I’m wanting to do the same thing but can’t figure out where to add it.