Skip to content

Commit

Permalink
animate text
Browse files Browse the repository at this point in the history
  • Loading branch information
ehab-hassan committed Nov 18, 2024
1 parent 46335a2 commit 531d276
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/shortcodes/carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@
var swiper = new Swiper(".default-carousel", {
loop: true,
speed: 700,

autoplay: {
delay: 5000,
disableOnInteraction: false,
pauseOnMouseEnter: true, // Pause autoplay when the mouse enters the slider
},
pagination: {
el: ".swiper-pagination",
clickable: true,
Expand Down

0 comments on commit 531d276

Please sign in to comment.