Site logo

Archived topic

Hover Time Dropdown

20 replies · Started by Anonymous on August 18, 2016

Viewing posts 1–15 of 21

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

THANKS SO MUCH!!

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

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

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

It says the video is private.

Any chance I can just view the site?

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

Thanks,

Ivan

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>

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

Thanks anyway,

Iván

Add this CSS with it:

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

It works!! Thanks so much!!!

Cheers,

Ivan

Awesome! Glad I could help :)

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

Thanks again,

Ivan

This archived topic is closed to new replies.