Jump to content

Mobile menu opacity

Recommended Posts

  • Replies 3
  • Views 650
  • Created
  • Last Reply
44 minutes ago, Dee12 said:

Site URL: http://www.uniquelydolledwigs.com

 

Hello,

I would like to fade the main site content when my mobile navigation is open. Is there a code that could create an overlay color or change the opacity when the mobile navigation menu is active? Any help would be appreciated!!

try

#page {
  transition: opacity .5s;
}
.header--menu-open #page {
  opacity: 0.6;
}

image.thumb.png.b7d06ea7fb007cba8b4abf3da261272d.png

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
6 minutes ago, Dee12 said:

Thank you so much, this worked! Is it possible to make the opacity darker?

you can try increase the opacity value

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.