View Full Version : how would I apply a class to my nav if selected?

10-20-2010, 10:36 AM

I have a wordpress theme, I would like to set the class .selected to my menu if that page was selected it changed colour http://www.jbiddulph.com/blog

10-20-2010, 11:48 AM
The selected page item already has a class called “current_page_item”.

10-20-2010, 12:30 PM
yes thanks, I can see that so how can I style it?

In my css I have:
#content ul li a .current_page_item { color:#727272!important; }

10-20-2010, 12:47 PM
#content ul li.current_page_item a{ color:#727272!important; }

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum