Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 8 years ago

#3274 closed enhancement (fixed)

The parent menu highlighted when the sub menu was selected

Reported by: lightcapturer's profile 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)

capture.jpg (75.0 KB) - added by lightcapturer 13 years ago.
community-groups_directory.jpg (61.9 KB) - added by lightcapturer 13 years ago.

Download all attachments as: .zip

Change History (12)

#1 @DJPaul
13 years ago

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?

#2 @DJPaul
13 years ago

  • Keywords reporter-feedback added
  • Type changed from defect to enhancement

#3 @lightcapturer
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.

#4 @lightcapturer
13 years ago

The Group Directory is part of the "Community" menu.

#5 @DJPaul
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: @lightcapturer
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.

Last edited 13 years ago by lightcapturer (previous) (diff)

#7 in reply to: ↑ 6 @lightcapturer
13 years ago

Double post

Last edited 13 years ago by lightcapturer (previous) (diff)

#8 @DJPaul
13 years ago

  • Keywords reporter-feedback removed
  • Milestone changed from Awaiting Review to 1.3
  • Version changed from 1.3 to 1.2

Fixed in r4713 by jjj

#9 @DJPaul
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

#10 @DJPaul
8 years ago

  • Component changed from Appearance - Template Parts to Templates
Note: See TracTickets for help on using tickets.