- This topic has 20 replies, 3 voices, and was last updated 7 years, 10 months ago by
Tom.
-
AuthorPosts
-
August 18, 2016 at 9:00 am #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
August 18, 2016 at 9:28 am #219234Tom
Lead DeveloperLead DeveloperHi 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..).
August 18, 2016 at 9:38 am #219236IVAN
THANKS SO MUCH!!
August 18, 2016 at 9:42 am #219237Ivan
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
August 18, 2016 at 9:45 am #219238Ivan
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
August 18, 2016 at 9:49 am #219240Tom
Lead DeveloperLead DeveloperIf you set the transition_speed to 0, there shouldn’t be any animation.
August 18, 2016 at 9:57 am #219243Ivan
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:
https://www.youtube.com/watch?v=JVkbpiEVveU&feature=youtu.be
Thanks,
Ivan
August 18, 2016 at 2:21 pm #219337Tom
Lead DeveloperLead DeveloperIt says the video is private.
Any chance I can just view the site?
August 18, 2016 at 2:47 pm #219350Ivan
You should now can see the video. Take a look!
Thanks,
Ivan
August 18, 2016 at 7:24 pm #219409Tom
Lead DeveloperLead DeveloperTry 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>August 19, 2016 at 5:05 am #219529Ivan
This new code doesn’t work at all, the dropdown doesn’t show up. Unable to see it.
Thanks anyway,
Iván
August 19, 2016 at 9:02 am #219580Tom
Lead DeveloperLead DeveloperAdd this CSS with it:
.sfHover > .sub-menu { opacity: 1 !important; }August 19, 2016 at 10:09 am #219608Ivan
It works!! Thanks so much!!!
Cheers,
Ivan
August 19, 2016 at 10:15 am #219615Tom
Lead DeveloperLead DeveloperAwesome! Glad I could help 🙂
August 19, 2016 at 10:17 am #219620Ivan
There’s any wat to delete also the animation when you hover a label from the menu?
Thanks again,
Ivan
-
AuthorPosts
- You must be logged in to reply to this topic.