WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a Woo Themes template (Simplicity) for a client's web site.

I'm using the portfolio page as the profile pages (Our Trainers).

Also have a blog category in the main nav.

How do I get the individual "portfolio" and blog pages to set the nav current page (.current_page_item)?

share|improve this question
up vote 1 down vote accepted

If it's in a menu you could use .current-menu-parent otherwise something like .current-post-parent or .current-page-parent

I hope this is what you mean. Otherwise a link to your current site would help alot.

share|improve this answer
Yeah, it's in the menu. How/where do I affect that? Example: This page has the .current-menu-item class. x5.centerlinebeta.net/our-trainers This one doesn't: x5.centerlinebeta.net/our-trainers/joshua-hutchins Where do I affect it on the subpages? – Keefer Dec 20 '11 at 3:04
Ah I see that this theme uses a page template for it's archive page. That's why there is no current-menu-parent class. What you can use is this: .single-portfolio .menu-item-265 { /* your active class css */ } – Rob Vermeer Dec 20 '11 at 13:46
Just add that class comma separated to the css styles that are used for .current-menu-items? – Keefer Dec 20 '11 at 14:08
Yes, if it is like this: .current-menu-items { /* some styles / }, then make it like this: .single-portfolio .menu-item-265, .current-menu-items { / some styles */ } – Rob Vermeer Dec 20 '11 at 14:32
This worked. Thanks so much for your help. – Keefer Dec 20 '11 at 15:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.