Site URL: https://roncosta.com/
I'm using the script below to auto scroll and it works perfectly for the first summary block I have (header) but it doesn't auto scroll the second one on the page which are my testimonials.
Can anyone help and suggest ways to make my testimonials summary block also auto rotates?
Thanks!
<script>
window.onload = function() {
var nextArrow = document.querySelector(".summary-carousel-pager-next");
function clickNext() {
nextArrow.click();
}
setInterval(clickNext, 4000);
};
</script>