Jump to content

Changing color of hamburger menu bars on desktop

Recommended Posts

Posted

Hey folks. i found some CSS to change my normal nav menu on desktop to the ol hamburger. but!, i need to change it from black to white so it pops on my image better. any help greatly appreciated ;  )

here's what i used to get the hamburger on the desktop.

.header-burger { display:flex!important}

.header--menu-open .header-menu {opacity: 1!important;visibility: visible!important;}

.header-nav, .header-actions {visibility:hidden!important}

.burger-box div {

    display: none;

}

.burger-box {

    background-image: url(https://image.flaticon.com/icons/svg/876/876207.svg);

    background-size: contain;

    background-repeat: no-repeat;

    background-position: center center;

}

 

Thanks agin!

  • Replies 1
  • Views 734
  • Created
  • Last Reply
Posted
19 hours ago, jimricco said:

Hey folks. i found some CSS to change my normal nav menu on desktop to the ol hamburger. but!, i need to change it from black to white so it pops on my image better. any help greatly appreciated ;  )

here's what i used to get the hamburger on the desktop.

.header-burger { display:flex!important}

.header--menu-open .header-menu {opacity: 1!important;visibility: visible!important;}

.header-nav, .header-actions {visibility:hidden!important}

.burger-box div {

    display: none;

}

.burger-box {

    background-image: url(https://image.flaticon.com/icons/svg/876/876207.svg);

    background-size: contain;

    background-repeat: no-repeat;

    background-position: center center;

}

 

Thanks agin!

Hi. What is site url?

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!)

Archived

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.