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

Reply To: Delay on hover over menu item

Home Forums Support Delay on hover over menu item Reply To: Delay on hover over menu item

Home Forums Support Delay on hover over menu item Reply To: Delay on hover over menu item

#98288
Tom
Lead Developer
Lead Developer

Hi Patrick,

The delay is handled by the hoverintent script – it’s currently set to 500ms.

To remove the delay, you can add this function:

add_action( 'wp_print_scripts', 'generate_dequeue_scripts', 100 );
function generate_dequeue_scripts() {
   wp_dequeue_script( 'hoverIntent' );
}

http://generatepress.com/knowledgebase/adding-php-functions/

Hope this helps 🙂