Skip to main content
added 602 characters in body
Source Link
Kamal
  • 137
  • 7

For some reason, sub-menus do not work on all pages on my site. Here is one (basic page) that shows the submenus

submenu works

and here is a screenshot where it doesn't even though the mouse is hovering over the Home menu item.

no submenu

The links are enabled in Main Menu and I tried toggling "Show as expanded" on and off but neither one makes a difference. The background image is hidden by a display:none css style in the second image/page. If I go to the Contact page, which looks similar to the first image the submenu does not show up on there either. The Contact page was created using the webform module.

Any help figuring this out would be much appreciated.

Thanks,

Kamal

UPDATE: I noticed that on the pages where the submenu works, the following code is generated for the menu.

<ul class=" eh-hmenu "><li class="first last expanded active-trail active"><a class="active-trail" href="/">Home</a><ul class="menu eh-hmenu-right-to-left active"><li class="first last leaf active-trail active"><a class="active-trail active" href="/host">Host A 51@EarthHour Event</a></li> 

Whereas on the pages where it doesn't work, I only see

<ul class=" eh-hmenu "><li class="first last collapsed active"><a class="active" href="/">Home</a></li> 

For some reason, sub-menus do not work on all pages on my site. Here is one (basic page) that shows the submenus

submenu works

and here is a screenshot where it doesn't even though the mouse is hovering over the Home menu item.

no submenu

The links are enabled in Main Menu and I tried toggling "Show as expanded" on and off but neither one makes a difference. The background image is hidden by a display:none css style in the second image/page. If I go to the Contact page, which looks similar to the first image the submenu does not show up on there either. The Contact page was created using the webform module.

Any help figuring this out would be much appreciated.

Thanks,

Kamal

For some reason, sub-menus do not work on all pages on my site. Here is one (basic page) that shows the submenus

submenu works

and here is a screenshot where it doesn't even though the mouse is hovering over the Home menu item.

no submenu

The links are enabled in Main Menu and I tried toggling "Show as expanded" on and off but neither one makes a difference. The background image is hidden by a display:none css style in the second image/page. If I go to the Contact page, which looks similar to the first image the submenu does not show up on there either. The Contact page was created using the webform module.

Any help figuring this out would be much appreciated.

Thanks,

Kamal

UPDATE: I noticed that on the pages where the submenu works, the following code is generated for the menu.

<ul class=" eh-hmenu "><li class="first last expanded active-trail active"><a class="active-trail" href="/">Home</a><ul class="menu eh-hmenu-right-to-left active"><li class="first last leaf active-trail active"><a class="active-trail active" href="/host">Host A 51@EarthHour Event</a></li> 

Whereas on the pages where it doesn't work, I only see

<ul class=" eh-hmenu "><li class="first last collapsed active"><a class="active" href="/">Home</a></li> 
edited title
Link
Kamal
  • 137
  • 7

Submenus do not work on some pages

Source Link
Kamal
  • 137
  • 7

Submenus do not work

For some reason, sub-menus do not work on all pages on my site. Here is one (basic page) that shows the submenus

submenu works

and here is a screenshot where it doesn't even though the mouse is hovering over the Home menu item.

no submenu

The links are enabled in Main Menu and I tried toggling "Show as expanded" on and off but neither one makes a difference. The background image is hidden by a display:none css style in the second image/page. If I go to the Contact page, which looks similar to the first image the submenu does not show up on there either. The Contact page was created using the webform module.

Any help figuring this out would be much appreciated.

Thanks,

Kamal