Home › Forums › Support › Active navigation change to a different colors › Reply To: Active navigation change to a different colors
January 14, 2016 at 11:57 pm
#165860
Tom
Lead Developer
Lead Developer
My code here will apply to any menu item when you’re on the page: https://generatepress.com/forums/topic/active-navigation-change-to-a-different-colors/#post-165799
This code will apply to your .home menu item when on the page:
.main-navigation .main-nav ul li.home.current-menu-item a {
background-color: yellow; /* or use a hex code to be more specific */
color: #000000; /* this is the text color */
}