Welcome! To use this support forum, please Login or Join Today!
You are here → Home :: Forum Home :: WordPress Themes Support :: Breeze WordPress Theme :: Thread
Slider restart
Is there a setting which will allow the slider to restart after the mouse pointer has stopped rolling over the slider? Currently the slider pauses and stays paused on the particular slide even when the mouse pointer is no longer hovering over the slide.
Sorry, not that I know of. The slider is based off of SlidesJS. It might be worth mentioning to the author, but I think the intention of the hoverpause parameter assumes the user is about to interact with a slide, and prevents animation before the user can make focus.
I have the code 90% complete to make hoverpause an option. You can find it in:
wp-content/themes/breeze/lib/includes/init_slider.php
Just change both parameters to true or false to force it one way or the other. I’ll try to get this finished in the next update. I think it should be enabled by default, but certainly understand you might want to change it.
<?php if (get_option('sthemes_slidehoverpause') == "0") { ?> hoverPause: true, // boolean, Set to true and hovering over slideshow will pause it <?php } else {?> hoverPause: false, // boolean, Set to true and hovering over slideshow will pause it <?php } ?>
Many thanks again. Cheers
Will
I didn’t get this to work :( Forced both parameters to false, but the slideshow still has hoverpause enabled..
Any news on this one?
I am gonna try this solution, will leave a reply here if it works!
I have a fast fix for the problem. This will cause the slider to play ALL THE TIME:
Open “slides.min.jquery.js” in “wp-content/themes/breeze/js” and find the line:
if(g.hoverPause&&g.play){control.bind(‘mouseover’,function(){stop()});control.bind(‘mouseleave’,function(){pause()})}
and change it to
if(g.hoverPause&&g.play){control.bind(‘mouseover’,function(){play()});control.bind(‘mouseleave’,function(){play()})}