Black Friday Sale! Get up to $40 off GP Premium!Learn more

Reply To: Main Navigation Dropdown

Home Forums Support Main Navigation Dropdown Reply To: Main Navigation Dropdown

#185943
Tom
Lead Developer
Lead Developer

Hi there,

Adding this code into the wp_footer hook in GP Hooks should do the trick:

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

Let me know 🙂