Okay
  Public Ticket #710250
Change Nav Bar Drop Down Speed
Closed

Comments

  • Chris started the conversation

    Hello,

    and sorry to bother you again. How can I change the speed of the dropdown animation in the Main Nav bar?

    I want to let it display immediately as soon as a person hovers over the main menu point.    

    I tried changing the in the js folder, the init.js file with these settings:

    function initSF(){
    
            $(".sf-menu").superfish({
                 delay: 0,
                 speed: 0,
                 speedOut:      0,             
                 animation:   {opacity:'show'}
            }); 
    
        }

    But it didn't seem to work...

    Is there anything else I have to do?


    Best Regards,

    Chris

  •  8,992
    Tahir replied

    Hey ,

    Please clear your cache using this guide: https://themenectar.ticksy.com/article/6226/ 

    Best.


    ThemeNectar Support Team 

  • Chris replied

    Ok. It seems like I asked for the wrong thing. My bad.

    I falsely thought the animation which starts after you hover over a menu item (the white bar which appears underneath and extends to the length of the menu item name) is coupled together with the dropdown menu speed. The code I have changed does indeed let the dropdown menu appear instantaneously, but only does so after the white bar animation has been finished. The whole process still takes quite some time..

    So the question is: How can I change the animation speed of the white bar, which appears on hover underneath the nav menu items? 

    Best regards,

    Chris

  •  8,992
    Tahir replied

    Hey Again,
    Please consider hiring a freelancer over at Envato Studio for these Theme customizations as they are not provided as Support: http://themeforest.net/page/item_support_policy .

    Thanks


    ThemeNectar Support Team