slidesToShow in vertical mode
See original GitHub issueslidesToShow
option is ignored in vertical mode.
Issue Analytics
- State:
- Created 8 years ago
- Comments:6
Top Results From Across the Web
Slick.js vertical, center mode, slidesToShow > 5 not working
It has something to do with centerPadding . I'm not sure what value should it have, but in example below i think it...
Read more >Slick Carousel | TheDir - New Start Homes
Attributes Default Description
accessibility true Enables tabbing and arrow key navigation
autoplay false Enables Autoplay
autoplaySpeed 3000 Autoplay Speed in milliseconds
Read more >Vertical Slick Slider Center Mode - CodePen
Insecure Resource. The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https....
Read more >Learn How to Create a Vertical Slick Slider with Custom Dots ...
<script type="text/javascript"> $(document).ready(function(){ $('.slick-slider').slick({ vertical: true, slidesToShow: 1, slidesToScroll: 1, autoplay: true,
Read more >Contain or resize Vertical Slick Slider Images?
Solved: The vertical images in my slider are assigning too much screen real estate, essentially causing the height of the slideshow to be ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I cannot reproduce what the exact problem is. Slides to show and vertical works here: https://jsfiddle.net/1a8ewgef/
Closing. Please add more information and a JSFiddle example to reopen
Can confirm this still seems to be an issue? I have 6/7 slides with this code:
yet all 6/7 are shown with the last one having the last 30px or so cut off and displayed before the first slide? may be some CSS issues?
(using Bootstrap, Wordpress and FontAwesome libraries)
UPDATE
I tried setting slidesToShow to 2 and it seemed to work better, not perfect (a little slide overlap, nothing CSS can’t fix) - but setting back to 3 shows 4?
UPDATE 2
Setting above with centerMode: true makes it work way much better, no overlapping of slides. Still shows 4 with 3 set though - but better for sure.