"Owl slider with product section Bootstrap 4"
Bootstrap 4.1.1 Snippet by Shivamsemisetia

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js "></script>
</head>
<!-- Popular products start -->
<section class="popular-products">
<div class="container">
<div class="row">
<div class="col">
<div class="sec-heading">
<h3 class="sec-title">Most popular</h3>
</div>
</div>
</div>
<div class="product-carousel owl-carousel">
<div class="product-item">
<figure class="product-thumb">
<img src="https://placeimg.com/1000/1000/nature" alt="">
<div class="action-links">
<a href="#" class="quick-view icon"><i class="ti-eye"></i></a>
<a href="#" class="wishlist icon"><i class="ti-heart"></i></a>
<a href="#" class="add-cart icon"><i class="ti-shopping-cart"></i></a>
</div>
</figure>
<div class="product-content">
<h5 class="product-name"><a href="#">Red Women Purses</a></h5>
<div class="ratings">
<a href="#"><i class="ti-star"></i></a>
<a href="#"><i class="ti-star"></i></a>
<a href="#"><i class="ti-star"></i></a>
<a href="#"><i class="ti-star"></i></a>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*******************************
* Featured Product Section
*/
@media screen and (max-width: 767px) {
.feat-product,
.popular-products,
.trending-products {
padding-bottom: 20px;
}
}
.product-item {
position: relative;
}
.product-item .product-thumb {
position: relative;
display: block;
margin-bottom: 30px;
}
.product-item .product-content {
text-align: center;
}
.product-item .product-content .product-name {
font-size: 14px;
font-weight: 400;
color: #888;
text-transform: capitalize;
margin-bottom: 0;
}
.product-item .product-content .product-name a {
color: #888;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(function($) {
'use strict'
$('.product-carousel').owlCarousel({
loop:true,
margin:30,
responsiveClass:true,
responsive:{
0:{
items:1
},
400:{
items:2
},
576:{
items:3
},
992:{
items:4
}
}
});
}) (jQuery);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: