Jump to content

Mobile Burger Color Invert on 7.1

Recommended Posts

Site URL: https://www.bspokellc.com/

My burger icon is white across the board (which is what I want) but I have a header code that changes all inside page headers to black. This seems to also be changing the burger icon to black on those pages on the mobile view. I am also losing my button text color which actually changes to white? Not really sure how to fix this. It is correct on some mobile pages but not others.

First two images are correct, but when I navigate to the 'sign up' page it changes to black and you can't see it, then when I click the burger/toggle just by clicking on the black header (top right) it goes back to white over the green, but my button text is missing.

Any help is appreciated thank you!


Link to comment
  • Replies 8
  • Views 1.2k
  • Created
  • Last Reply
body:not(.homepage) .burger-box >.header-menu-icon-doubleLineHamburger > * {
    background: white !important;

That will make the button white on everything except the homepage.

As far as the button.

The #header a { color: #fff !important; } code that you added is making all of the links in the header white

You will need to remove that, and use code that just targets the nav links.

This should work, and not mess with the button after you remove the other code.

.container.header-menu-nav-item.header-menu-nav-item a {
    color: white !important;


Link to comment

You must have removed the wrong code.

Are you entering that CSS in the page code injection. You don't need to.

You can just do this in design -> css to set the background to black (all pages except home page) and link text (not the button) to white.

If you have OTHER stuff in the page code injection, do not delete it all.

Just the lines for the bg and font color.

body:not(.homepage) #header {
	background-color: black !important;

.container.header-menu-nav-item.header-menu-nav-item a {
    color: white !important;


Link to comment


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.