diff --git a/themes/hugoplate/assets/js/main.js b/themes/hugoplate/assets/js/main.js index c4a6440..5428c59 100755 --- a/themes/hugoplate/assets/js/main.js +++ b/themes/hugoplate/assets/js/main.js @@ -16,9 +16,13 @@ // Testimonial Slider // ---------------------------------------- - new Swiper(".testimonial-slider", { + var testimonialSlider = new Swiper(".testimonial-slider", { spaceBetween: 24, loop: false, + autoplay: { + delay: 2500, // set the delay in milliseconds between slides + disableOnInteraction: false, // continue autoplay even when user interacts with the slider + }, pagination: { el: ".testimonial-slider-pagination", type: "bullets", @@ -29,11 +33,11 @@ slidesPerView: 2, }, 900: { - slidesPerView:3 + slidesPerView: 3, }, 1100: { slidesPerView: 5, - } + }, }, }); })(); diff --git a/themes/hugoplate/layouts/partials/essentials/footer.html b/themes/hugoplate/layouts/partials/essentials/footer.html index 5775af7..bdbeffe 100755 --- a/themes/hugoplate/layouts/partials/essentials/footer.html +++ b/themes/hugoplate/layouts/partials/essentials/footer.html @@ -14,7 +14,7 @@