$(document).ready(function() {
$(".slider1").owlCarousel({
margin: 15,
items:1,
responsiveClass:true,
nav: true,
autoHeight: true,
loop:false,
navText: [
"<i class='fa fa-chevron-left'></i>",
"<i class='fa fa-chevron-right'></i>"
],
loop:true,
responsiveClass:true,
responsive:{
0:{
items:1
}
}
});
});
@import url(http://owlcarousel2.github.io/OwlCarousel2/assets/owlcarousel/assets/owl.carousel.min.css);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css);
@import url(http://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css);
.owl-carousel {
margin: 0;
}
.owl-carousel .owl-nav [class*=owl-] {
background: rgba(0, 0, 0, 0.5);
color: rgba(255, 255, 255, 0.9);
font-size: 11px;
width: 30px;
height: 30px;
line-height: 30px;
border-radius: 0;
text-align: center;
}
.owl-carousel .owl-nav [class*=owl-]:hover {
background: rgba(0, 0, 0, 0.9);
color: #FFF;
}
.owl-carousel .owl-prev,
.owl-carousel .owl-next {
position: absolute;
top: 10px;
height: 30px;
margin: auto !important;
}
.owl-carousel .owl-prev {
right: 45px;
}
.owl-carousel .owl-next {
right: 10px;
}
.owl-carousel .owl-dots {
display: none !important;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Owl Carousel - Single Slider</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="owl-carousel slider1">
<figure>
<img src="http://i.imgur.com/RGGxODF.jpg" class="img-responsive" alt="...">
</figure>
<figure>
<img src="http://i.imgur.com/RGGxODF.jpg" class="img-responsive" alt="...">
</figure>
<figure>
<img src="http://i.imgur.com/RGGxODF.jpg" class="img-responsive" alt="...">
</figure>
<figure>
<img src="http://i.imgur.com/RGGxODF.jpg" class="img-responsive" alt="...">
</figure>
<figure>
<img src="http://i.imgur.com/RGGxODF.jpg" class="img-responsive" alt="...">
</figure>
</div>
</div>
</div>
</div>
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="http://owlcarousel2.github.io/OwlCarousel2/assets/owlcarousel/owl.carousel.js" type="text/javascript"></script>
</body>
</html>