Skip to content

Instantly share code, notes, and snippets.

@tehillim
Last active May 17, 2017 01:58
Show Gist options
  • Select an option

  • Save tehillim/025a2548ef4021ce16cbc48cd7144fa4 to your computer and use it in GitHub Desktop.

Select an option

Save tehillim/025a2548ef4021ce16cbc48cd7144fa4 to your computer and use it in GitHub Desktop.
코드가 매우 심플하고, 모바일 소개 페이지로 쓰기에 괜찮은 jquery 라이브러리로 owl carousel이 있는데, 처음 owl carousel 을 사용하다보면, 하단에 dots 가 나오지 않는 경우가 있다. 그건 버그가 아니라, 설명서docs에 제대로 명기를 하지 않았기 때문인데.. 설명서 업데이트 되길~ jquery 버전 문제나 option 문제가 아니라, theme에 대한 문제이다.. dots 는 기본값이 true이다. 해결 방법은 간단하다. owl.theme.default.min.css 를 index에 포함시킴 class에 owl-theme을 포함시킴 That’s it. http://webstory.pos…
:
<link rel="stylesheet" href="owl/assets/owl.theme.default.min.css">
:
<div class="owl-carousel owl-theme">
<div>content1</div>
<div>content2</div>
<div>content3</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment