Jump to content

How to make the background completely white when opening image from gallery view?

Recommended Posts

Try adding this code to the Custom CSS on your website:

.gallery-lightbox-background {
    background-color: #ffffff;
    opacity: 1.0;
}

Adjust the opacity (currently 1.0, to between 0.0 and 1.0), and you can change the color if you want as well.

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

Link to comment
  • 4 weeks later...
On 9/9/2022 at 5:11 AM, Ziggy said:

Try adding this code to the Custom CSS on your website:

.gallery-lightbox-background {
    background-color: #ffffff;
    opacity: 1.0;
}

Adjust the opacity (currently 1.0, to between 0.0 and 1.0), and you can change the color if you want as well.

This was a life saver for me. I'm pretty done wih the dark and light lightbox backgrounds. This is much better.
Thanks,

George Cartwrtight

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.