jimricco Posted July 26, 2021 Posted July 26, 2021 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!
tuanphan Posted July 27, 2021 Posted July 27, 2021 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.