Styling current_page_item
-
I wish to style the current page in a sidebar menu:
Parent
– Child
– Child
– ChildHowever, when I use this CSS to style the current page item …
.advanced-sidebar-menu li.current_page_item a:first-child { font-weight: bold; }… all children are also styled.
Parent
– Child
– Child
– ChildHow should I change the CSS so the children of a current page are not styled?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Styling current_page_item’ is closed to new replies.