Viewing 1 replies (of 1 total)
  • Plugin Support Nick C

    (@modernnerd)

    Hi, Vanessa.

    It’s not currently possible to pause the slider on hover without editing the plugin, I’m sorry to say.

    If that’s something you’d like to explore, you’d need to edit line 165 of genesis-responsive-slider.php and change this code:

    $output = 'jQuery(document).ready(function($) {
    			$(".flexslider").flexslider({
    				controlsContainer: "#genesis-responsive-slider",
    				animation: "' . esc_js( $effect ) . '",
    				directionNav: ' . $directionnav . ',
    				controlNav: ' . $controlnav . ',
    				animationDuration: ' . $duration . ',
    				slideshowSpeed: ' . $timer . '
    		    });
    		  });';

    To look like this (extra pauseOnHover line near end):

    $output = 'jQuery(document).ready(function($) {
    			$(".flexslider").flexslider({
    				controlsContainer: "#genesis-responsive-slider",
    				animation: "' . esc_js( $effect ) . '",
    				directionNav: ' . $directionnav . ',
    				controlNav: ' . $controlnav . ',
    				animationDuration: ' . $duration . ',
    				slideshowSpeed: ' . $timer . ',
    				pauseOnHover: true
    		    });
    		  });';

    Note that plugin updates will overwrite these changes, so you’d have to re-apply the change with each new version of the plugin.

    I’ll put this forward as a feature request in case it’s something the developers might add as an option in the settings. Thanks for asking about it!

Viewing 1 replies (of 1 total)
  • The topic ‘Pause on hover?’ is closed to new replies.