Home › Forums › Support › leaving menu droped down until user action › Reply To: leaving menu droped down until user action
October 25, 2016 at 10:26 am
#238754
Tom
Lead Developer
Lead Developer
Hi there,
You can increase the delay by adding this code into the wp_footer hook in GP Hooks:
<script>
jQuery( window ).load( function() {
jQuery( '.sf-menu .menu-item-has-children' ).GenerateDropdownMenu.destroy();
jQuery( '.sf-menu .menu-item-has-children' ).GenerateDropdownMenu({
transition: 'slide',
transition_speed: 150,
open_delay: 300,
close_delay: 300
});
});
</script>
Just increase the close_delay value to whatever you need 🙂