You can use any other jQuery element to check width changes for example ".owl-demo". Owl Carousel check window for browser width changes. You can use Owl Carousel on desktop-only websites too! Just change that to "false" to disable resposive capabilitiesĬheck window width changes every 200ms for responsive actions Use rewindSpeed to change animation speed. To get empty buttons use navigationText : false. You can cusomize your own text for navigation. If you set autoPlay: true default speed will be 5 seconds. Check my Custom DemoĬhange to any integrer for example autoPlay : 5000 to play every 5 seconds. For example means that if(window<=1199)Īlternatively use itemsDesktop: false to override these settings. The format is whereby x=browser width and y=number of slides displayed. This allows you to preset the number of slides visible with a particular browser width. This variable allows you to set the maximum amount of items displayed at a time with the widest browser width Now call the Owl initializer function and your carousel is ready.Īll of the options below are available to customize Owl Carousel. Class "owl-carousel" is mandatory to apply proper styles that come from file. All you need is to wrap your divs(owl works with any type element) inside the container element. To use Owl Carousel, you’ll need to make sure both the Owl and jQuery 1.7 or higher scripts are included. Load jQuery and include Owl Carousel plugin files