A
A
alabs2018-11-02 12:01:36
JavaScript
alabs, 2018-11-02 12:01:36

How to hide items on owl carousel?

Good afternoon. How to hide items in owl carousel?
$(item).hide(); normally hides, but the width of the slider itself does not change, that is, when scrolling, there is an empty space from hidden slides.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AlexRas, 2018-11-02
@AlexRas

Yes, but I haven't checked. Must be done after hiding the element.
owl.trigger('refresh.owl.carousel');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question