@@ -125,7 +125,16 @@ $(function(){
slidesToShow: 3,
slidesToScroll: 1,
centerMode: false,
- centerPadding: '60px'
+ centerPadding: '60px',
+ responsive: [
+ {
+ breakpoint: 800,
+ settings: {
+ slidesToShow: 2,
+ slidesToScroll: 1,
+ centerPadding: '0',
+ }
+ }]
});
}
@@ -352,7 +361,7 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
- console.log($(".block-region-second .field_ressources_liees>div:nth-of-type(2)"));
+
$(".layout__region--bottom .field_ressources_liees>div:nth-of-type(2)").slick({
@@ -1,6 +1,8 @@
// page centre de ressources
// & ressource simple
+// ressourceS
.path-centre-de-ressources{
.programme-1{
@@ -244,6 +246,9 @@
+ .slick-slider{
+ overflow: hidden;
.slick-arrow{
position: absolute;
height: 100%;
@@ -338,6 +343,14 @@
align-items: flex-start;
.views-col:first-child{
grid-column-start: 2;
+ @include breakpoint(small down) {
+ grid-column-start: 1;
+ grid-template-columns: repeat(1, 88%);
+ column-gap: 0;
+ padding: 0 0 0 1.5rem;
.views-col:not(.type-74){