-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Responsive Options ? #2
Comments
You can provide responsive options to the shortcode as well. [owl-carousel ...other-settings... responsive={0:{items:1},600:{items:3},1000:{items:5}}]
<!-- images -->
[/owl-carousel] |
Since last update this seems to be broken. This worked until I updated yesterday: |
Yes. I can confirm, that this is broken since release 1.0.2. Here the non working example by passing a JSON-Object to the shortcode
with release 1.0.2 it gets renderd to this and throws a jQuery exception:
Removing the nested JSON-Object from the shortcode-params works fine but there is no way to get the responsive behavour of owl-carousel with this shortcode-plugin. |
- responsive value is json not string (issue getgrav#2) - "true"/"false" must be boolean not string
- responsive value is json not string (issue #2) - "true"/"false" must be boolean not string
Hi,
I'm trying to get the carousel to be responsive. 6 visible on larger screens and only 1 on smaller (mobile). How am I supposed to add responsive options/breakpoints to the carousel ?
i.e., like with the non-shortcode plugin,
responsive:{
0:{
items:1,
nav:true
},
600:{
items:3,
nav:false
},
1000:{
items:5,
nav:true,
loop:false
}
Thank you :)
The text was updated successfully, but these errors were encountered: