make infinite loop in slider
-
Hello,
I hope someone can help me with this. I want an infinite loop in the slider. I know this works when I make “loop: false” into loop: true” in the product-gallery-slider.php..
But then the changes are lost with an update of the plugin. Could you help me out with the code I could add into functions.php(function( $ ) { 'use strict'; $( document ).ready(function() { $( '.woocommerce .thumbnails' ).owlCarousel({ loop:true, slideBy:2, dots: false, nav: <?php echo wpgs_option("wpgs_nav"); ?>, items:<?php echo wpgs_option("wpgs_thumbanils"); ?>, margin:<?php echo wpgs_option("wpgs_thum_margin"); ?>, stagePadding: <?php echo wpgs_option("wpgs_stagepadding"); ?>, mouseDrag: false, navText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"], autoplayTimeout: 5000, autoplayHoverPause:false, autoplay: <?php echo wpgs_option("wpgs_autoplay"); ?>, // type false | if you don't want auto play }); }); })( jQuery );
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘make infinite loop in slider’ is closed to new replies.