Enable/Disable Slider on specific viewport #448
-
Hi guys, I would like to enable my slider only on small devices (mq < 1000px). I tried it like this:
Unfortunately the slider is still enabled on screens > 1000px. Can somebody help me? |
Beta Was this translation helpful? Give feedback.
Answered by
NaotoshiFujita
Oct 19, 2021
Replies: 1 comment
-
You are destroying the slider on the width < 1000 😫 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NaotoshiFujita
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are destroying the slider on the width < 1000 😫
Switch the media query by the
mediaQuery
option:https://splidejs.com/guides/options/#mediaquery