Hello there,

Not entirely sure what I've done however for some reason the drop downs for child menu items only appear when you are on a page contained in the menu tree if that makes sense. For example if I'm on the site homepage the drop downs below 'Account' would not appear.

Any idea how I can debug this issue?

I've pretty much disabled all modules that I *think* might affect the menu system. Any body had a similar problem?

Thanks
Dan

Comments

markhalliwell’s picture

Component: User interface » Documentation
Status: Active » Postponed (maintainer needs more info)

Well, the bootstrap base theme automatically converts the $main_menu into $primary_nav, so that it always expands. Are you using $main_menu or a custom render of the tree?

tr33m4n’s picture

I'm using both $primary_nav and $secondary_nav, which is where the drop down lies. I haven't made any modifications to the menu renders

tr33m4n’s picture

Hello again,

I've setup a demo site to illustrate the issue, the site is a clean install d7 (despite the url containing drupal8)... You will notice that no dropdown arrows are displayed on the home page until you actually click the menu link "Test 1". Is it meant to be like this by design? If so how do I override it to always display the drop down?

http://drupal8.daniel-doyle.co.uk/

Cheers

markhalliwell’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

This is how it is designed currently. I'm marking this as a dup of #1893532: [bootstrap][policy][7.x-3.x] Navigation/Menus. I believe there is an example there that can show you how to override, if not, the question there.

ainz’s picture

Issue summary: View changes

@tr33m4n regarding your question

Hello,

I was redirected here for help. I want to enable the dropdown subs on my site homepage however by default this is not how it behaves, the dropdown appears after you have visited the parent menu item. Is there a way to do this?

OP https://drupal.org/node/2047661

Cheers

The reason this is happening on your homepage is because you haven't enabled "Show as expanded" in your menu item. For each of the menu items that you want to be dropdown menus on the homepage you have to go to Structure > Menus > Main Menu (or whichever menu) > Click on the parent and check the "Show as expanded" checkbox. This issue has nothing to do with bootstrap but rather you just need to enable this setting to fix your issue.

Cheers