Jump to content

Mobile Menu = transparent/blur/glass effect?

Recommended Posts

It looks like you solved with this CSS?

.header-menu-bg {
    background-color: #000;
    background: linear-gradient(to bottom,#000,#e45372);
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 7 months later...
On 5/14/2022 at 4:32 PM, KEYdance said:

Yes, I am trying the gradient effect – because I couldn't find a CSS code for a frosted glass effect for Mobile Menu. Is there a glass effect possible?

Glass mobile menu effect for 7.1:

// Glass Effect Mobile Menu //
.header-menu .header-menu-bg
{
background: transparentt;
background-color: rgba(255, 255, 255, .5)!important;
-webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

Link to comment
8 hours ago, EWP said:

// Glass Effect Mobile Menu //
.header-menu .header-menu-bg
{
background: transparentt;
background-color: rgba(255, 255, 255, .5)!important;
-webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

@EWPThank you for your code – unfortunately it is not working.

Link to comment
  • 7 months later...
  • 2 months later...

I managed to achieve something similar with this: 

 /* Mobile menu overlay with blurred background */

.header--menu-open::before,  {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent!important;
    backdrop-filter: blur(10px);
    z-index: 998;
 }

 

I need it to fly in and out of the screen with my menu, though, and can't seem to find a way to make this work. Anyone? 

https://violin-halibut-2csa.squarespace.com/

mmmarchitects

 

Link to comment

@robfeltrin Thank you for your support. Unfortunately your code it is not working on my website – and it seems not to work on yours as well. Instead of a blurring background my (and yours) complete mobile menu (including all text) is blurred – that's not a solution – what a pity.

Link to comment

Okay, I understand, but I still haven't seen it yet on any Squarespace mobile menu. I am guessing, that there is limitation by Squarespace to do this via CSS. Recently it came to my mind instead to upload a blurred edited image as mobile menu background. So, it is not generate via CSS, but might have a similar effect – just an idea.

Edited by KEYdance
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.