Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I can't get the drop down menus to work in Drupal 7. I have hem all set to expanded, cleared caches, etc but still no luck.
Comments
Comment #1
thepauly CreditAttribution: thepauly commentedNevermind, I just had to put the menu into the primary menu block and it started working.
Comment #2
Kreativs CreditAttribution: Kreativs commentedI also have it placed in primary menu block, but the way it works is that if I click on a menu item it expands , it doesnt expand just by hovering the mouse over the menu item.
Any idea how to get it to auto expand when hovering the mouse over ?
Comment #3
antsin CreditAttribution: antsin commentedHello there,
I should make a note somewhere explain this issue. There is problem with menu (including build-in primary menu block) add on active-trail in first Drupal 7 official release. So if you want the drop down menu work properly, you might want to install Menu Block module.
Comment #4
itspriyank CreditAttribution: itspriyank commentedHow to place menu in primary menu block...??
Comment #5
itspriyank CreditAttribution: itspriyank commentedI solved it myself and placed menu in primary block but still dropdown not working. Please help...??
Comment #6
bryrock CreditAttribution: bryrock commentedThe menu will drop-down if you place it in the primary block AND also set the "Show as expanded" option for the top level items with sub-items. Then these will expand when you hover over top level items in the menu.
Comment #7
Holygoe CreditAttribution: Holygoe commentedHi,
thank you. It's help me. Install Menu Block and it start working =)
Comment #8
csb346 CreditAttribution: csb346 commentedHi all... I've installed MENU Block, but what do I have to do after? How to place menu in primary menu block?
The menuthat I wan to expand is the primary menu. I tried several configuration but nothing worked till now.
Any help please?
Comment #9
thamasYou do not need Menu Block module to use the dropdowns.
Go to Structure / Blocks. Look for "Main menu" block and set its region to Primary menu. That's all.
Comment #10
meonkeys CreditAttribution: meonkeys commented@thepauly, @bryrock or @thamas, does the "use primary menu region" workaround depend on what theme is being used? I'm using Bartik and I don't see a "Primary menu" region.
Comment #11
bryrock CreditAttribution: bryrock commented@meonkeys, yes it does depend on the theme. As you've noted, different themes have their own regions defined. In this case, this particular issue and the suggested work-around was specifically addressing the BlogBuzz theme.
Comment #12
prajesh.madhavi CreditAttribution: prajesh.madhavi commentedI am facing the same issue but diffrently, in my case menu is getting expanded with the theme I create it, as I change the theme the menu does not expand. using drupal 7.
Comment #13
bagers CreditAttribution: bagers commentedthank you very much, works :)
Comment #14
waibiaf2 CreditAttribution: waibiaf2 commentedThanks please keep it up, this information was lovely.
Comment #15
caiman CreditAttribution: caiman commentedbryrocks answer ("Show as expanded") was my solution. Thank you!
Comment #16
edu.stringer@gmail.com CreditAttribution: edu.stringer@gmail.com commentedI am using Nexus template, which does not have a Primary Block option.
I have tried the Header, Content Top, and Content with no change in the dropdown behavior.
I have even installed Menu Block and suppressed Drupal’s standard menu blocks for the Main Menu.
Still no change.
Any other thoughts?
Thanks!
CH
Comment #17
hpkuhnel CreditAttribution: hpkuhnel as a volunteer commentedI installed the module Jquery Update. In Setting -> Jquery Update you can adjust the jquery-version for Nexus. I selected jquery 1.7 like the demo site of Nexus and the pull down works.
Comment #18
rahul_ CreditAttribution: rahul_ commentedI use this code in my custom.js file =>
Please try, this can fix my issue .