Current menu item
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Current menu item’ is closed to new replies.
Hi !
How to change the color of the navigation menu item for the current page ?
Add this CSS to your Child Theme style.css file, or by using a Custom CSS plugin.
.navbar-custom .nav li.current_page_item > a {
color: #f00;
}
Adjust the Red color #f00
to suit your needs.
You can use these additional classes to style other elemenets within your menu to highlight current pages.
page_item_has_children
current_page_ancestor
current_page_parent has_children
Hope this helps.
Perfect! Thanks a lot