I am facing an issue with my WP theme where the bootstrap carousel is moving by four items at a time instead of one. I want to achieve a continuous loop where it moves one item at a time infinitely. I attempted to implement this solution but only the first item was visible.
Below is a snippet of my current code:
<div class="carousel slide" data-ride="carousel" id="partneri-carousel">
<div class="carousel-inner">
<div class="item active">
<div class="col-3 column text-center">
<div class="logo">
<img src="http://demo.kybernaut.cz/dgsimona/wp-content/uploads/2015/02/cvicny_partner2.png">
</div>
<div class="popisek">Simona je nkjnaskndkjsan bjhdbasjhbdjhba snhjqbsjwqb sbjqwbsq dbjudwzgzd</div>
<div><a href="http://www.kybernaut.cz" target="_blank">www.kybernaut.cz</a></div>
</div>
.... (Remaining HTML code)
</div>;
<!-- Carousel Buttons Next/Prev -->
<a data-slide="prev" href="#quote-carousel" class="left carousel-control"><img src="http://demo.kybernaut.cz/dgsimona/wp-content/themes/sb/images/arr_simple_left.png" alt="arr_simple_left"></a>
<a data-slide="next" href="#quote-carousel" class="right carousel-control"><img src="http://demo.kybernaut.cz/dgsimona/wp-content/themes/sb/images/arr_simple_right.png" alt="arr_simple_right"></a>
</div>
</div>
Here is the jQuery script I am using:
<script>
$(document).ready(function() {
$('#partneri-carousel').carousel({
pause: "hover",
interval: 4000,
});
});</script>
The desired behavior should be like this: (numbers represent the "partner box", "=>" denotes the movement of carousel, for example, having six partner boxes) 1 2 3 4 => 2 3 4 5 => 3 4 5 6 => 4 5 6 1 => 5 6 1 2 => infinite loop
Thank you in advance for any assistance!