Browse Source

slideshow and lp grid

dependabot/npm_and_yarn/acorn-5.7.4
rdrew 6 years ago
parent
commit
3e7ccfd59e
  1. 14
      css/style.css
  2. 8
      js/js.js
  3. 10
      src/scss/_lp-hero.scss
  4. 4
      src/scss/_lp-preview-grid.scss

14
css/style.css

File diff suppressed because one or more lines are too long

8
js/js.js

@ -34,7 +34,13 @@
Drupal.behaviors.slickSliderInit = {
attach: function attach(context, settings) {
$('.lp-slideshow').slick();
$('.lp-slideshow').slick({
fade: true,
speed: 1000,
autoplay: true,
autoplaySpeed: 8000,
});
}
};

10
src/scss/_lp-hero.scss

@ -15,3 +15,13 @@
}
align-items: center;
}
.slick-arrow {
z-index: 999;
}
.slick-next {
right: 0;
}
.slick-prev {
left: 0;
}

4
src/scss/_lp-preview-grid.scss

@ -41,6 +41,10 @@
padding: 10px;
color:#fff;
}
img {
width: 100%;
}
}
/*====lp article preview cards==================*/

Loading…
Cancel
Save