Jump to content

Changing the Color of the Burger Icon for the Mobile View of my Squarespace website

Recommended Posts

  • Replies 9
  • Views 658
  • Created
  • Last Reply

Top Posters In This Topic

Just add this code to that page Header

<style>
  body:not(.header--menu-open) #header:is(.bright, .dark, .dark-bold, .black, .black-bold) .burger {
    background-color: var(--tertiaryButtonBackgroundColor) !important;
}
</style>

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
18 hours ago, Richard06 said:

Hey, so the code only works when I inject it on the header of the home page. Could you edit the code to make it so I can add it to any page to change the burger icon to blue?

Use this. If it doesn't work, please share link to a page + keep code in page header, we can check easier

<style>
  body:not(.header--menu-open) #header .header-burger .burger {
    background-color: var(--tertiaryButtonBackgroundColor) !important;
}
</style>

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.