How would I limit the navigation/main-menu to display the top level only, without sub-navigation?

CommentFileSizeAuthor
#2 responsive-menus.jpg40.89 KBlastar84
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

devsaran’s picture

Status: Active » Closed (duplicate)

To make navigation/main-menu to display the top level only, make sure you have disabled Show as expanded for every parent menu

lastar84’s picture

FileSize
40.89 KB

I have disabled "Show as expanded" for the parent menu items.

It works, unless the active page has children. Then children are displayed on hover in the 960 menu, and they are displayed in the link selections on the responsive-width menus. See attached...

I also tried changing the superfish.js pathLevels to 0, but that didn't stop the children from showing.

I can manually disable every child menu item, but this would not be useful for websites with hundreds of pages or with content that is managed by users who aren't Drupal experts.

lastar84’s picture

Not sure why this is closed and marked as duplicate. It isn't a duplicate of anything.