Home > OS >  Owl Carousel display issues
Owl Carousel display issues

Time:06-14

I have used owl carousel to animate the items from my wordpress Advance custom fields.

This is my code and the items are displaying underneath each other and carousel isn't in play.

References I have used: enter image description here

CodePudding user response:

The class "items" has a width of 90% if you are also using the bootstrap carousal css. It needs to be outside of the loop like this:

...
<div >     
<?php foreach ($get_feedback as $item) : ?>
    <div >
       ...
    </div>
<?php endforeach; ?>
</div>
  • Related