Add 'current' state to main nav
-
What do I need to add/change in the css so that the on the main navigation the current page item is highlighted (either with a simple border bottom or a padded background similar to the hover state)?
Is it as simple as something like…?
.current-menu-item a { color: white; background: green; }
I also need it to work when that item has sub-pages.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add 'current' state to main nav’ is closed to new replies.