Add a class of "active" to the <li> of the nav item of the current page: <li class="active"><a href="...">projects</a></li> This class should be applied for all children of the nav item (for example "projects" would be active on the prject landing page, project index, a specific project etc.)
Summary: add "active class to → add "active class to main nav items.
please assign the bug to me (firstname.lastname@example.org) when you are done so I can work on styles for the active nav item. Thanks!
li active functionality already present for when you are on these pages. The only CR here is to add projects active when looking at any project.
Done on drumbeat.trellon.org - see r458 & r459. Only difference is that for visiting a project and related pages, you will see active-trail class rather than just active - this is Drupal core functionality... we can change it, but in the interests of time.
Assignee: pingers → ned
Pushed to staging. Please review.
Ah, Ned still needs to do the actual theming here (css).
This is fixed in Bug 568335
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.