Stop slider pausing

⚠️ Code snippets might not be compatible with the latest version of your theme. Always use a child theme to customize your theme, and test your code on a staging website before migrating to production.

By default, Customizr pauses the slider when you move your mouse over it. This is normally great, especially if your slides are detailed and people need time to view them.

However, if you prefer, the pausing can be switched off with the following code in your functions.php file.

// Stop slider pausing on mouse hover
add_filter( 'tc_stop_slider_hover','my_slider_hover_value');
function my_slider_hover_value() {
	return false;
}

 

Where to copy/paste this code? => in your functions.php file. I strongly recommend you create a child theme. Download a start-up child theme here.

Everything you need to know about child theme with Customizr here.

Leave a comment

Your email address will not be published. Required fields are marked *