Deka87 Deka87 -4 years ago 155
CSS Question

How do I specify number of items to be shown in Owl carousel 2?

In Owl carousel 1 I could specify different number of items to be shown depending on the viewport width:


However, the code above doesn't work with Owl carousel 2. Also the specs suggest the only option to use:

items: 3 // or any ther number here

So it's the same number of items shown on mobile and desktop. Did I miss something?

Answer Source

Try using the responsive option. Read here in the docs:

On this thread hvsh is giving an example right at the bottom:

Also on the demo page they give an example:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download