How come dots/navigation buttons are not visiable using owlcarousel?

痴心易碎 提交于 2019-12-05 01:22:50

The minified css file you have doesn't appear to have a style for that element: .owl-theme .owl-controls .owl-page span.

Here are the styles that are applied by the demo on the owlgraphic.com site: http://jsfiddle.net/s10bgckL/2/

pagination:false,
navigation:true

try this

Add CSS for Owl Carousel theme,

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.theme.min.css" />

and change,

<div id="owl-demo">

to

<div id="owl-demo" class="owl-theme">

Demo: jsfiddle link

I believe the problem you are running into is you didn't include the Owl Carousel theme. Not sure if you are using the CDN, but look here: https://cdnjs.com/libraries/owl-carousel and make sure you include the CSS for the theme in addition to the standard CSS.

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.theme.min.css" />
Azizul

Go to owl.carousel.min.js or owl.carousel.js file whatever you linked.

Find and Replace disabled with anyClass. You'll Find 6 times, enjoy!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!