Black Friday! Get up to 25% off GP Premium! Learn more ➝

Reply To: leaving menu droped down until user action

Home Forums Support leaving menu droped down until user action Reply To: leaving menu droped down until user action

Home Forums Support leaving menu droped down until user action Reply To: leaving menu droped down until user action

#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 🙂