slick carroussel js ok

This commit is contained in:
2023-06-28 19:03:23 +02:00
parent e7dcefbcae
commit d54c0b8a5c
7 changed files with 18 additions and 317 deletions
+14 -14
View File
@@ -166,24 +166,24 @@ jQuery(function($) {
console.log('hello')
$(document).ready(function(){
if ('.view-id-actus_blocks_pages view-display-id-block_1'){
$('.slidshow-home2').slick({
slidesToShow: 1,
slidesToScroll: 1,
// if ('.view-id-actus_blocks_pages view-display-id-block_1'){
$('.view-display-id-block_1 .view-content').slick({
// slidesToShow: 1,
// slidesToScroll: 1,
dots: true,
arrows: true,
centerMode: true,
// centerMode: true,
centerPadding: '200px',
responsive: [
{
breakpoint: 800,
settings: {
centerPadding: '0',
adaptiveHeight: true
}
}]
// responsive: [
// {
// breakpoint: 800,
// settings: {
// centerPadding: '0',
// adaptiveHeight: true
// }
// }]
});
}
// }
});
// $('.slidshow-home2').slick(