[Resolved] Hover Time Dropdown

Home Forums Support [Resolved] Hover Time Dropdown

Home Forums Support Hover Time Dropdown

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #219211
    Ivan

    Is there a way to reduce tho hover time when I want to see the dropdown menu on the navigation bar?

    I followed this instructions, but it didn’t worked for me:

    https://generatepress.com/forums/topic/hover-time/

    Any thing I could do?

    Thanks,

    Ivan

    #219234
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    This might help: https://generatepress.com/forums/topic/delay-on-hover-over-menu-item/#post-193803

    That topic sets it to 0, but you can change it to whatever you like (200ms etc..).

    #219236
    IVAN

    THANKS SO MUCH!!

    #219237
    Ivan

    Just one thing, do you know when I hover the menu item, to appear the sub-menu has a little animation that doesn’t have when i get the mouse over there.

    How can I delete that animation?

    Thanks,

    Ivan

    #219238
    Ivan

    I mean, there’s a transition between opacity0 to opacity1. How can you delete that transition or add the same transition to them the mouse goes out of the hover label?

    Thanks,

    Ivan

    #219240
    Tom
    Lead Developer
    Lead Developer

    If you set the transition_speed to 0, there shouldn’t be any animation.

    #219243
    Ivan

    I’ve set the transition_speed to 0, bet there’s still an animation. Altrough, this only affects at the when I hover the label with the mouse, and not when I leave the label.

    I show you this in video:

    Thanks,

    Ivan

    #219337
    Tom
    Lead Developer
    Lead Developer

    It says the video is private.

    Any chance I can just view the site?

    #219350
    Ivan

    You should now can see the video. Take a look!

    Thanks,

    Ivan

    #219409
    Tom
    Lead Developer
    Lead Developer

    Try this code instead:

    <script>
        jQuery( window ).load( function() {
            jQuery( '.sf-menu .menu-item-has-children' ).GenerateDropdownMenu.destroy();
            jQuery( '.sf-menu .menu-item-has-children' ).GenerateDropdownMenu({
                    transition: 'fade',
                    transition_speed: 0,
    		open_delay: 0,
    		close_delay: 0
            });
        });
    </script>
    #219529
    Ivan

    This new code doesn’t work at all, the dropdown doesn’t show up. Unable to see it.

    Thanks anyway,

    Iván

    #219580
    Tom
    Lead Developer
    Lead Developer

    Add this CSS with it:

    .sfHover > .sub-menu {
        opacity: 1 !important;
    }
    #219608
    Ivan

    It works!! Thanks so much!!!

    Cheers,

    Ivan

    #219615
    Tom
    Lead Developer
    Lead Developer

    Awesome! Glad I could help 🙂

    #219620
    Ivan

    There’s any wat to delete also the animation when you hover a label from the menu?

    Thanks again,

    Ivan

Viewing 15 posts - 1 through 15 (of 21 total)
  • You must be logged in to reply to this topic.