I have a strange behavior with a list templated with slicked list.
I have listed contents per month of creation. I used slicked list template to manage this list in order to open modal window and use Bootstrap 3 modal version.
Into this modal window, I have a contents slideshow, which is a list of contents managed with slicked list too.
It works nicely, except if the number of contents is less than 4. For 1, 2 or 3 contents, all contents overlap.
I tried to see what happens whith Firebug, but as soon as I click on Firebug, the contents move to their correct place.
I attach the screenshot to show the result.
Does anyone have any idea of what might happen ?
Thanks in advance
Here is the code created by the template for the list items :
<script type="text/javascript">
JCck.Core.baseURI = "/auxmarins2";
jQuery(document).ready(function(){jQuery('.my-slick-class').slick({
autoplay: true,
prevArrow: 'Previous',
nextArrow: 'Next',
dotsClass: 'slick-dots',
mobileFirst: true,
responsive: [{breakpoint: 768, settings: {slidesToShow: 2,}},{breakpoint: 992, settings: {slidesToShow: 3,}},],
swipeToSlide: true,
});
});
</script>