dcole07
Member
Posted 5 years ago #
In the header.php there was wp_list_pages(), but I replaced it with wp_list_categories(). Now I want to change the look when each category is selected with "current_page_item" or not for the non-home tabs. The header.php only has the "current_page_item" for the Default Home tab.
Where can the php if statement to change this?
rudolf45
Member
Posted 5 years ago #
Doesn't WP add a "current_cat" class to the category you are in? Mine does...
And to find it out, next time start here: http://codex.wordpress.org/Finding_Your_CSS_Styles
dcole07
Member
Posted 5 years ago #
That didn't help
so when you have wp_list_pages() it prints out the HTML which includes the <li><a href="..."> PAGE</a></li> ...
where can I go to edit what it prints out... because I want to add 'class="blah"' to the <li>