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)?

link|improve this question
feedback

1 Answer

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.

link|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
1  
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
feedback

Your Answer

 
or
required, but never shown

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