Jump to content

Disable transparent header menu background on mobile

Recommended Posts

Add the following to Design > Custom CSS.

@media screen and ( max-width: 799px ) {

  #header {
    
    background-color: #F2F1D4 !important;
    
    }
    
  body[data-menu-overlay-theme-switcher="true"]:not( .header--menu-open ) .light-bold .burger-inner .top-bun,
  body[data-menu-overlay-theme-switcher="true"]:not( .header--menu-open ) .light-bold .burger-inner .patty,
  body[data-menu-overlay-theme-switcher="true"]:not( .header--menu-open ) .light-bold .burger-inner .bottom-bun
  
    {
    
      background-color: black;
      
      }
  }

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
16 hours ago, creedon said:

Add the following to Design > Custom CSS.


@media screen and ( max-width: 799px ) {

  #header {
    
    background-color: #F2F1D4 !important;
    
    }
    
  body[data-menu-overlay-theme-switcher="true"]:not( .header--menu-open ) .light-bold .burger-inner .top-bun,
  body[data-menu-overlay-theme-switcher="true"]:not( .header--menu-open ) .light-bold .burger-inner .patty,
  body[data-menu-overlay-theme-switcher="true"]:not( .header--menu-open ) .light-bold .burger-inner .bottom-bun
  
    {
    
      background-color: black;
      
      }
  }

Let us know how it goes.

This worked perfectly, thank you! I will tweak the color and it'll be all done. Thank you again for your help with this!

875930440_IMG_F6CE449F915A-12.thumb.jpeg.550f9822b62941d3b5e9852ab0cc43cb.jpeg

Link to comment
  • 1 year later...

@failbetter

I was looking at your issue and I saw it in action and while I was tracking down what might be wrong the issue went away.

Did you fix the issue?

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.