There is a bug in the module where the highest menu level loose the "active" status.

Repro:
1. Create a primary menu like:

Level 1
-- Level 2
----Level 3

2. Save a menu split block with "Primary links".
3. Assign block mbs-2nd to left sidebar.
4. Click on "Level 2" to expand the menu.
5. Now the menu point "Level 1" looses it's "active" status.

Expected result:
1. "Level 1" should be "active" whatever level i'm clicking in inside this menu tree.

Comments

hass’s picture

If Level 2 get's active the same happen, too. Level 1 is no more active.

robertgarrigos’s picture

Status: Active » Closed (works as designed)

mmm maybe I don't understand but it really stays active all parent levels of the actual active menu. This is a normal drupal behavior:

when Level 1 gets active it has something like class="menu-1-1-2-active active"
when level 2 gets active it has something like class="menu-2-1-3-active active" while its parent remains as class="menu-1-1-2-active"
same happens with level 3.

other menu entries get only class="menu-x-x-x"

However, if you want to keep an 'active' class for all parent menus for the active trail, you can override the theme_menu_item() function with something like this:

function yourtheme_menu_item($mid, $children = '', $leaf = TRUE) {
  return '<li class="'. ($leaf ? 'leaf' : ($children ? 'expanded' : 'collapsed')) . (menu_in_active_trail($mid) ? ' active' : '') .'">'. menu_item_link($mid) . $children ."</li>\n";
}