@media home
This commit is contained in:
@@ -162,12 +162,8 @@ jQuery(function($) {
|
||||
// slideshow home // marche pas. attention ai rajouter des class dans template views.view.html.twig et views-view-actus-blocks-pages--block-1.html.twig
|
||||
|
||||
(function($, window) {
|
||||
|
||||
console.log('hello')
|
||||
|
||||
$(document).ready(function(){
|
||||
// if ('.view-id-actus_blocks_pages view-display-id-block_1'){
|
||||
|
||||
$('.path-frontpage .view-actus-blocks-pages .view-content').slick({
|
||||
slidesToShow: 1,
|
||||
// slidesToScroll: 1,
|
||||
@@ -185,16 +181,11 @@ jQuery(function($) {
|
||||
}]
|
||||
});
|
||||
console.log('salut slick home');
|
||||
|
||||
$('.page-node-type-actualite .block-entity-fieldnodefield-images .field--type-image').slick({
|
||||
dots: true,
|
||||
arrows: false,
|
||||
|
||||
|
||||
});
|
||||
console.log('salut slick actus');
|
||||
|
||||
|
||||
$('.page-node-type-projet .block-entity-fieldnodefield-photo .field--type-image').slick({
|
||||
slidesToShow: 1,
|
||||
dots: true,
|
||||
@@ -203,10 +194,6 @@ jQuery(function($) {
|
||||
adaptiveHeight: true,
|
||||
});
|
||||
console.log('salut slick projets');
|
||||
|
||||
});
|
||||
|
||||
// console.log('salut slick actus');
|
||||
|
||||
})(jQuery, window);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user