If you’re using Owl Carousel 2
, then you should use the following:
$(".category-wrapper").owlCarousel({
items : 4,
loop : true,
margin : 30,
nav : true,
smartSpeed :900,
navText : ["<i class="fa fa-chevron-left"></i>","<i class="fa fa-chevron-right"></i>"]
});