Jump to content

Mobile Menu = transparent/blur/glass effect?

Recommended Posts

  • 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

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
  • 3 months later...
On 11/23/2023 at 3:34 PM, KEYdance said:

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.

Well the system wouldn't allow you to do customize the back ground image of the mobile menu, right?

Link to comment
53 minutes ago, yitong3 said:

Well the system wouldn't allow you to do customize the back ground image of the mobile menu, right?

You can customize the background image of the mobile menu via CSS.

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.