How can I make my owl-carousel responsive in Bootstrap-3? I have tried using width:100% and height:auto, but it didn't work. Is there a way to achieve responsiveness with owl-carousel?
Here is the relevant code snippet:
.container-carousel {
width:100%
}
#main-slider .carousel .slider-img {
text-align:right;
position:absolute
}
...
<div class="container-carousel">
<section id="main-slider" class="root-sec scroll-section no-margin">
<div class="carousel slide">
<ol class="carousel-indicators">
<li data-target="#main-slider" data-slide-to="0" class="active"></li>
...
</ol>
<div class="carousel-inner">
<div class="item active" style="background-image: url1">
<div class="container">
...
<div class="item" style="background-image: url2">
<div class="container">
...
<div class="item" style="background-image: url3">
<div class="container">
...
<div class="item" style="background-image: url4">
<div class="container">
...
</div>
</div>