Maecenas accumsan lacus vel facilisis volutpat est velit egestas dui. Mauris augue neque gravida in. Integer quis auctor elit sed vulputate mi sit amet. Velit laoreet id donec ultrices. Interdum consectetur libero id faucibus nisl tincidunt. Vitae semper quis lectus nulla at volutpat diam. Rutrum quisque non tellus orci ac auctor. Purus faucibus ornare suspendisse sed nisi lacus. Nunc scelerisque viverra mauris in aliquam.
(function ($) { "use strict"; function bsaOwlCarousel() { let owl = $(".bsa-owl-carousel-1"); let owlItem = $(".bsa-owl-carousel-1 .bsaProItem"); owl.owlCarousel({ loop: true, autoPlay: 5000, autoPlayHoverPause: false, autoPlayTimeout: 5000, paginationSpeed: 700, items: 1, rewindSpeed: 1000, singleItem : true, slideSpeed: 400, autoWidth: true, nav: false, dots: false, afterAction: function(el){ //remove class active owlItem.addClass('inactiveItem'); //add class active owlItem.eq(this.currentItem).removeClass('inactiveItem'); } }); } $(document).ready(function () { let owlCarousel = $(".bsaProCarousel-1"); setTimeout(function () { let crop = "yes"; let ajax = $('.bsa_pro_ajax_load-1'); if ( crop === "ajax" ) { if ( ajax.children.length > 0 ) { bsaOwlCarousel(); owlCarousel.fadeIn(); setTimeout(function () { ajax.fadeIn(); }, 100); } } else { bsaOwlCarousel(); } }, 200); let number_show_ads = "0"; let number_hide_ads = "0"; if ( number_show_ads > 0 ) { setTimeout(function () { owlCarousel.fadeIn(); }, number_show_ads * 1000); } else { owlCarousel.fadeIn(); } if ( number_hide_ads > 0 ) { setTimeout(function () { owlCarousel.fadeOut(); }, number_hide_ads * 1000); } }); })(jQuery); .bsaProCarousel-1 { max-width: 728px !important; width: 100%; overflow: hidden; margin: 0 auto; } .bsaProCarousel-1 .bx-wrapper { border: 0 !important; box-shadow: none !important; margin-bottom: 0 !important; } .bsaProCarousel-1 .bsaProItem { max-width: 728px !important; } .bsaProCarousel-1 .bsaProItem { width: 100% !important; margin: 0 !important; visibility: visible !important; opacity: 1 !important; }