Jump to content

7.1 Change opacity to gallery background in Lightbox mode

Recommended Posts

  • MsXacto8558 changed the title to 7.1 Change opacity to gallery background in Lightbox mode
  • Replies 3
  • Views 1.1k
  • Created
  • Last Reply
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 (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
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 (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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.