![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am looking to get a page thats not on my primary navigation force the nav to mark as "Active". For example if I am on page_id 173, and that page exists in my nav it updates the class to "menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-173 current_page_item menu-item-226".
If I am on page 174, how would I get page 173 to be "current". I would be able to set which pages force which to be active, so it does not need to be auto. |
|
#2
|
||||
|
||||
|
you could use child pages and the current-page-ancestor class to style your menu item.
__________________
Nick "Fred and/or George Weasley" Croft Designs by Nick the Geek @Nick_theGeek on Twitter Make web design easier, get FireBug for FireFox Want to learn more about Genesis? Check out my Genesis Explained Series |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| div "date" in a separate file | Doktor Bro | General Discussion | 2 | 01-07-2009 12:57 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us