Using Slick Carousel

Hi,

I am trying to use Slick for Carousel image display. However, it seems not working with ListRecords? 

Since there is a span element now for list records the styles are not applied.


You need to tweak the Js to look within the span or Looks for some Class within the outer parent.


I am Assuming you are quite experienced JavaScript developer based on your previous posts. 

coder kamath wrote:

Since there is a span element now for list records the styles are not applied.


You need to tweak the Js to look within the span or Looks for some Class within the outer parent.


I am Assuming you are quite experienced JavaScript developer based on your previous posts. 

Hi,

thank you for your reply. 

I managed to get it by changing parts of the JavaScript (inside reinit and buildout functions) :

Example,

From: _$.slides = _$.slides.children(_options.slide + ':not(.slick-cloned)').addClass('slick-slide')

To: _$.slides = _$.slides.children(_options.slide + ':not(.slick-cloned)').children('div').addClass('slick-slide')