Comments Florian Taverniez started the conversationFebruary 15, 2019 at 9:55amHi team !I'd like to display the Carousel image slider on only 2 columns, not 3 like actually it is.Any idea ?Thanks ! 1,974Support repliedFebruary 15, 2019 at 3:19pmHey Florianlook for this bit$('.carousel').owlCarousel({ loop:true, margin:20, autoHeight:false, navSpeed: 600, nav:true, responsive:{ 0:{ items:1 }, 479:{ items:2 }, 1024:{ items:3 }, 1466:{ items:3 } } });in /js/scripts.js in Sliders() function and you can set the number of items based on the current resolution width.Thank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyFlorian Taverniez repliedFebruary 18, 2019 at 10:09amHi !Thank you very much.Any idea how to change a specific slider and keeping the others at 3 per row ? 1,974Support repliedFebruary 18, 2019 at 4:12pmThat's a bit more complex. You need to specify a different class name for the specific slider so that you can initialize it separately in /js/scripts.js $('.specific-carousel').owlCarousel({loop:true,margin:20,autoHeight:false,navSpeed: 600,nav:true,responsive:{0:{items:1},479:{items:2},1024:{items:3},1466:{items:3}}}); Best is to take the HTML output of the shortcode for example <div class="carousel "> ... </div> change it to: <div class="specific-carousel "> ... </div>and then add the modified HTML code to the page content instead of the shortcode.Thank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyXavierMesme repliedAugust 5, 2019 at 7:40pmHi, Where to place the specific Html code you mentioned in this ticket.Thank you 1,974Support repliedAugust 6, 2019 at 1:37pmHi there, after you get the carousel HTML code from the page source, you modify it as recommended and then you add the HTML code to the page content. You need to make the modification to /js/scripts.js as recommended.Thank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policy1 Like Sign in to reply ...
Hi team !
I'd like to display the Carousel image slider on only 2 columns, not 3 like actually it is.
Any idea ?
Thanks !
Hey Florian
look for this bit
$('.carousel').owlCarousel({
loop:true,
margin:20,
autoHeight:false,
navSpeed: 600,
nav:true,
responsive:{
0:{
items:1
},
479:{
items:2
},
1024:{
items:3
},
1466:{
items:3
}
}
});
in /js/scripts.js in Sliders() function and you can set the number of items based on the current resolution width.
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi !
Thank you very much.
Any idea how to change a specific slider and keeping the others at 3 per row ?
That's a bit more complex.
You need to specify a different class name for the specific slider so that you can initialize it separately in /js/scripts.js
$('.specific-carousel').owlCarousel({
loop:true,
margin:20,
autoHeight:false,
navSpeed: 600,
nav:true,
responsive:{
0:{
items:1
},
479:{
items:2
},
1024:{
items:3
},
1466:{
items:3
}
}
});
Best is to take the HTML output of the shortcode for example
<div class="carousel "> ... </div>
change it to:
<div class="specific-carousel "> ... </div>
and then add the modified HTML code to the page content instead of the shortcode.
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi,
Where to place the specific Html code you mentioned in this ticket.
Thank you
Hi there,
after you get the carousel HTML code from the page source, you modify it as recommended and then you add the HTML code to the page content. You need to make the modification to /js/scripts.js as recommended.
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy