Search code examples
javascripttwitter-bootstrapcssdrupal-7

Drop down menu in Bootstrap Business (drupal 7) theme is not working


I have installed Bootstrap Business theme in Drupal 7. The 'Show as expanded' option has enabled in menu list. But drop down menu is not working. There are no any javascript errors while loading the page. Please help me to resolve this issue.


Solution

  • The drop down menu is depend on some jquery libraries. You have to install jquery update module and superfish module.

    After enabled both modules, download the superfish library from github and extract it's content to /sites/all/libraries/superfish in the durpal installation.

    Add following code in path to superfish library area in superfish module configuration.

    sites/all/libraries/superfish/jquery.hoverIntent.minified.js
    sites/all/libraries/superfish/jquery.bgiframe.min.js
    sites/all/libraries/superfish/superfish.js
    sites/all/libraries/superfish/supersubs.js
    sites/all/libraries/superfish/supposition.js
    sites/all/libraries/superfish/sftouchscreen.js
    sites/all/libraries/superfish/sfsmallscreen.js
    

    Then change jquery version to 1.7 in jquery update module configuration.

    Finally go to the structure/blocks and place a superfish item in navigation region.