Change Navigation Font Color
-
I’ve added this code to CSS to change the color of my navigation bar to transparent but since the font color of the navigation was white, I now can’t see the navigation. What code can I use to change the font to black so that it now appears?
#masthead {
background-color: rgba(255,255,255,1.0);
}The blog I need help with is: (visible only to logged in users)
-
Hi there, is for the site title.
.site-branding .site-title, .site-branding .site-title a, .site-branding .site-title a:visited { color: #fff; }And this would be for the navigation. The first rule is for the main navigation color and the second is for the “current page” menu item.
.site-header .main-navigation a, .site-header .main-navigation a:visited { color: #cc0000; } .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a { color: #44ee44 !important; } -
Perfect, that’s great. So now the “menu” button on mobile can’t be seen, how do I change the font to black for the menu button? And the button outline to black if there is one.
Thanks again :)
-
-
I’m able to see the menu button while visiting your site on mobile, thanks to the custom CSS provided by @nagpai. :)
If you have any extra questions then feel free to open a new thread on this forum, @shannonrey.
-
Yes thank you both, I do have one more question on this topic. I believe there is also a circle around the Menu button. If so, how can I change the color to black?
Thank you
-
Add a second line to the CSS nagpai provided above to get a circle outline on the menu toggle:
.menu-toggle { color: #000; border: 1px solid #000; }For additional questions, please start a new thread as Siobhan mentioned. Thanks!
- The topic ‘Change Navigation Font Color’ is closed to new replies.