ContextInstitute / bfcom

http://bfn.context.org
GNU General Public License v3.0
4 stars 1 forks source link

Consistently highlight active item in top menu #42

Open rgilman opened 6 years ago

rgilman commented 6 years ago

We need to sort out how to highlight the active nav item in the submenu. We will be using highlighting on the top and submenu as the way of orienting users to where they are in the system (instead of traditional breadcrumbs). WordPress, BuddyPress and the BP Nouveau templating system may have everything we need for this and if they do, we should probably link into their system.

rgilman commented 6 years ago

I wasn't looking closely enough. :-( The selected item in the submenu has current and selected classes added to it via the bp-nouveau functions we are using in nav-bfc_submenu. :-).

However, the top menu loses it's highlight when you go to a specific group or a specific member.

I expect we are going to need to bring the top menu out of the WordPress world and into the BuddyPress / bp-nouveau world to get the kind of control we need over highlighting.