Since the primary links have the "expanded" option, it might seem to "not work" for the end user as the primary links can be displayed either as a block, and in that case the primary links are shown in their complete hierachical relation, or as a theme element where it doesn't work since only the first level of menu is shown. It however works when the menu is selected. There is no quick hack possible since the "primary links" are generated by, not the module menu.


ultimateboy’s picture

Version: 6.x-dev » 7.x-dev
Category: feature » bug

Agreed. With a quick search I found many people with this problem. I think that we should either allow primary menu items to be expanded or remove the option through the UI.

This could be considered a usability issue, but I will keep it as a menu component as I feel it is a better fit there.

alexanderpas’s picture

+1 for option removal from that place, we need to have a non-expanding menu-block instead.

ultimateboy’s picture

I think there is a better solution.. I think that instead, we should allow expanding on primary menus.. if we want to take it one step further, lets add a dropdown menu system to core themes (of course with the option to turn on/off). It seems like this is an extremely requested feature, and with the little css/js it requires, it is almost so crazy not to.

derjochenmeyer’s picture

I like version #3

marcoBauli’s picture

This is a long-time usability bug, also for the styling of menus:

a. theme primary links do not show child menu items in an "expandible" fashion, but have granular <li class="..."> classes for deep styling
b. block primary links support expandible child items, but have generic classes that do not help designers get what they want

(just google a bit about "style drupal menu" to see yourself)

A really useful module to fix this is the Menu Block module - - but do we really need to install an extra module to get there?

AdrianB’s picture

This is indeed confusing. Subscribing.

alienzed’s picture

needs work imo, there's no reason why the primary links block or ANYTHING in Drupal should be so difficult to customize.

ultimateboy’s picture

Version: 7.x-dev » 8.x-dev

I'm thinking this has to be pushed on to 8.

David_Rothstein’s picture

asb’s picture

Yes, this is a recurring issue for years. Subscribing.

ndmaque’s picture


NROTC_Webmaster’s picture

I think this has the best chance of fixing this if anyone wants to take on the necessary changes.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.