slick carroussel js ok
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user