kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.54k stars 5.89k forks source link

Slick not working on Prestashop #3331

Open oBailen opened 6 years ago

oBailen commented 6 years ago

I made a prestashop module and it doesnt work. On prestashop 1.6 works fine but I convert it to prestashop 1.7 and dont work

Link: http://presta17.ftp-2.com/es/

Here where I inicialize the slick

<link rel="stylesheet" type="text/css" href="/modules/icertwebcomment_footerc/slick/slick-theme.css"/>
<script type="text/javascript" src="/modules/icertwebcomment_footerc/slick/slick.min.js"></script>
<script type="text/javascript">   
$(document).ready(function(){
  $('.opinionesslider_footerc').slick({
    infinite: true,
    slidesToShow: 3,
    slidesToScroll: 1,
    responsive: [
{
  breakpoint: 990,
  settings: {
    slidesToShow: 2,
    slidesToScroll: 2,
    infinite: true
  }
},   {
  breakpoint: 615,
  settings: {
    slidesToShow: 1,
    slidesToScroll: 1,
    infinite: true
  }
}
]
  });
});
</script>

And where I use it

{foreach from=$rss_links item='rss_link'}
{$rss_link.comentario|strip_tags:'UTF-8'}
{$rss_link.cliente} ({$rss_link.idcliente})
{$rss_link.fecha}
{/foreach}

===================================================================

====================================================================

What is the expected behaviour?

Make the slider work

====================================================================

What is observed behaviour?

Doesnt put the classes on the divs correctly

====================================================================

More Details

DaraniShri commented 1 year ago

I'm also stuck in this