Sem nulla pharetra diam sit amet nisl suscipit adipiscing bibendum. Sed egestas egestas fringilla phasellus faucibus scelerisque eleifend donec. Turpis nunc eget lorem dolor sed viverra ipsum nunc aliquet. Turpis tincidunt id aliquet risus feugiat in ante metus dictum. Vel facilisis volutpat est velit egestas.
(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; }