Brought to you by
2BlueSolutions Creative Web Design

Monday, March 16, 2015

Divi Theme - Remove pause 'on hover' of the full width slider

In the Divi theme, open up /js/custom.js

Comment out the following code (around line 144)
if ( settings.slideshow && et_slides_number > 1 ) {
   $et_slider.hover( function() {
       $et_slider.addClass( 'et_slider_hovered' );
       if ( typeof et_slider_timer != 'undefined' ) {
    clearInterval( et_slider_timer );
 }
     }, function() {
 $et_slider.removeClass( 'et_slider_hovered' );
           et_slider_auto_rotate();
 } );
   }