Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,
    I’m thinking you could find the javascript file which makes the dropdown’s work.
    There will be a function which states, onclick=();
    You can change that to onmouseover=();
    http://www.w3schools.com/jsref/event_onmouseover.asp

    If using jQuery there will be a different declaration. Something like ($menu).hover();

    This probably was not of much help.

    -Gordon

    Thread Starter varzovia

    (@varzovia)

    Do you know what file is?

    Yes I found it and the line.

    In functions.js Line 31 (for me) states:
    container.find( ‘.dropdown-toggle’ ).click( function( e ) {

    Change that to:
    container.find( ‘.dropdown-toggle’ ).hover( function( e ) {

    Here is the path:
    site/wp-content/themes/[varzovia’s-theme]/js/functions.js

    Hope that helps. Please reply if this doesn’t work and we can keep working on it.

    Side note:

    You will run into problems with mobile view as mobile devices do not have the ability to hover, or roll-over. One can only click on a mobile device.

    Thread Starter varzovia

    (@varzovia)

    I change but the action remains the same.

    I guess i’ll have to choose another theme because of this menu and the lack of search bar on the top.

    Are you using a theme which is pre-packaged with WordPress. Like twentyeleven or twentysixteen or something?
    Remember, if you take away the ability to click, mobile and table users will have NO way of navigating the site via the menu.

    You could probably use a menu plug-in instead of doing a whole new theme.

    Oh man. I’m in the wrong forum, lol. Sorry about that.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Menu Drop Down’ is closed to new replies.