Skip to content

Instantly share code, notes, and snippets.

@Security2431
Created July 10, 2017 14:30
Show Gist options
  • Save Security2431/9301cb7261779e0a0f2efdb7f666451e to your computer and use it in GitHub Desktop.
Save Security2431/9301cb7261779e0a0f2efdb7f666451e to your computer and use it in GitHub Desktop.
// Slick slider
if ($('#carousel-header').length) {
$('#carousel-header').slick({
dots: true,
arrows: false,
infinite: true,
slidesToShow: 1,
speed: 500,
mobileFirst: true,
swipeToSlide: '15',
responsive: [
{
breakpoint: 768,
settings: "unslick",
}
]
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment