Viewing 1 replies (of 1 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi Mike,

    It’s not possible at the moment but I have just made a change which will make it possible in the next version (https://plugins.trac.www.ads-software.com/changeset/1222825).

    Once released you will be able to use this code in your themes functions.php file:

    function megamenu_remove_hoverintent_delay($array) {
        $array['interval'] = 0;
        return $array;
    }
    add_filter('megamenu_javascript_localisation', 'megamenu_remove_hoverintent_delay', 10, 1);

    I would not reccomend removing the delay completely as it stops the menu from flashing up if the user happens to move their cursor over a menu item, but you have the freedom to choose the behaviour yourself now ??

    Regards,
    Tom

Viewing 1 replies (of 1 total)
  • The topic ‘Remove delay on hover’ is closed to new replies.