Skip to content

Instantly share code, notes, and snippets.

Created May 1, 2018 01:53
What would you like to do?
Highlight the Current Page In WordPress Using CSS
#leftcontent li.current_page_item a:link, #leftcontent li.current_page_item
a:visited, #leftcontent li.current_page_item a:hover, #leftcontent
li.current_page_item a:active {
font-weight: bold;
padding:0px 0px 0px 7px;
background-position: 0px 0px;
background:url(images/li_bg.jpg) no-repeat;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment