Archived topic
Change hamburger icon color on one page only
3 replies · Started by Michael on June 25, 2018
Hello,
I want to change the hamburger icon color to black on one page only that is not using a transparent page header. Tried code below with no success.
.page-id-366 .menu-toggle {
color: #000;
}
Or this from someone with a similar request.
.page-id-366 .main-navigation .main-nav ul li a,
.page-id-366 .main-navigation .menu-toggle {
color: #000000;
}
Hi there, that code should work. Can you provide a link to the site? You can edit the original topic and add it in the Site URL for privacy.
It's on a desktop server before going live so no url to share. I played around a bit more and fixed it. Updated code is.
.page-id-366 .menu-toggle:before {
color: #000000;
}
Thanks.
Ah yes just the toggle is in a before pseudo element. Glad you got it resolved and thanks for sharing.