Jump to content

7.1 Change opacity to gallery background in Lightbox mode

Recommended Posts

Posted

How can I control the opacity in a gallery grid when viewing single images in Lightbox mode?

Currently the background images are too strong, I would like to fade them to around 20%.

Thanks!

Opacity.png

  • MsXacto8558 changed the title to 7.1 Change opacity to gallery background in Lightbox mode
  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply
Posted
On 6/29/2021 at 2:31 AM, MsXacto8558 said:

Site URL: https://purple-crane-2hzr.squarespace.com/config/

How can I control the opacity in a gallery grid when viewing single images in Lightbox mode?

Currently the background images are too strong, I would like to fade them to around 20%.

Thanks!

Opacity.png

You should enable site visibility to password as well, anyway, here is snippet for 7.1 image lightbox

.yui3-lightbox2 .sqs-lightbox-overlay {
  opacity: 0.2 !important;
}
.gallery-lightbox-background {
    opacity: 0.2 !important;
    
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
8 hours ago, MsXacto8558 said:

Site is now public with password

Vernon093

I tried the above code it works, and I can adjust the opacity background

Thanks!

 

 

it not correct password

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.