#3274 closed enhancement (fixed)
The parent menu highlighted when the sub menu was selected
Reported by: | lightcapturer | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | 1.2 | |
Component: | Templates | Keywords: | |
Cc: |
Description
It would be great if it was made so.
Attachments (2)
Change History (12)
#3
@
13 years ago
Sorry, maybe I'm less precise in expressing what I mean. What I really mean it this way: when a sub menu page is displayed, the main menu becomes highlighted.
#5
@
13 years ago
I still can't recreate. It works fine on my local install, and also on http://testbp.org/members/ (the community menu).
#6
follow-up:
↓ 7
@
13 years ago
Just found the solution for what's I mean, that is by adding
#nav > li.current_page_parent a, #nav > li.current_page_ancestor a { background: #f5f5f5; color: #555; }
in the Navigation CSS.
So far it works as I expected. But there may be a better solution.
Note: See
TracTickets for help on using
tickets.
I can think of very few examples anywhere that this style of thing is done. If, for example, if you had a few top-level menus, and in one of them, the current item was in a different colour, how would you know which without looking through all the top-level menus?