As seen "Departmental Information" is first level sub menu under top level "Staff Menu". But I want only to display "Staff Menu" and it should expand only on hover. How to do it?

I've tried all the options in Superfish block settings.

I've added this code to generate the html:

$block = block_load('superfish', '1');
$menus = render(_block_get_renderable_array(_block_render_blocks(array($block))));

enter image description here

enter image description here

Otherwise it's working fine and when I hover over "Departmental Information" it does expand as in this picture:

Second level onwards working properly

  • Have you added 'jQuery Easing plugin' into library folder? – Nikhil Banait Mar 4 '16 at 9:53
  • @NikhilBanait yes – user5858 Mar 4 '16 at 10:30
  • I assume you have "Staff Menu" set as Block-Title, because it's not shown in the admin-menu screenshot? If not, you have probably set this menu item to "Show as expanded"....? – Volker Mar 4 '16 at 11:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.