Closed (duplicate)
Project:
Bootstrap
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2013 at 14:54 UTC
Updated:
25 Feb 2014 at 02:41 UTC
Jump to comment: Most recent
Comments
Comment #1
markhalliwellWell, the bootstrap base theme automatically converts the
$main_menuinto$primary_nav, so that it always expands. Are you using$main_menuor a custom render of the tree?Comment #2
tr33m4n commentedI'm using both
$primary_navand$secondary_nav, which is where the drop down lies. I haven't made any modifications to the menu rendersComment #3
tr33m4n commentedHello 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
Comment #4
markhalliwellThis 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.
Comment #5
ainz commented@tr33m4n regarding your question
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