question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

slidesToShow in vertical mode

See original GitHub issue

slidesToShow option is ignored in vertical mode.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6

github_iconTop GitHub Comments

5reactions
mcashleycommented, Jan 16, 2016

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

0reactions
sinnis-dev-treycommented, Mar 5, 2018

Can confirm this still seems to be an issue? I have 6/7 slides with this code:

$('.featured-dealer-reviews').slick({
    arrows:         false,
    slidesToShow:   3,
    vertical:       true,
    verticalSwiping: true
});

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found