Slick: Feature request: Multiple rows

Created on 2 Apr 2014  路  15Comments  路  Source: kenwheeler/slick

Hi.

Would it be possible to implement an option to have multiple rows in a slider? See attached image..

image

Enhancement

Most helpful comment

Also looking for multiple rows, but slightly different to the example above.

I'd like to be able to set the number of rows, each row filling left -> right in turn.
i.e.

slickex1

This only really makes sense as a 'vertical' mode. I could do this with the multiple items in a slide approach, but responsive design becomes tricky doing it this way.

All 15 comments

How would that work? Like what would the rules be?

If we had a property for a rowcount, add slides vertically until we reach the rowcount then start at the next column maybe? Do you need anything else?

Hmmm. Couldn't you just use a modulus and put them inside of a slide div?

Yes, maybe that could work, but wouldnt that make it complicated if I were to add/remove slides dynamically?

Indeed it would. Let me look into this and see if it wouldn't add too much weight.

Thanks for looking into it. If its not possible, I'll just add multiple items within a slide and figure it out :)

this would be great.

Adding a parameter to specify the number or rows at each breakpoint would also be useful. It would allow for building a 'photo wall' for example. Useful!

I am looking for this functionality too.

+1

Also looking for multiple rows, but slightly different to the example above.

I'd like to be able to set the number of rows, each row filling left -> right in turn.
i.e.

slickex1

This only really makes sense as a 'vertical' mode. I could do this with the multiple items in a slide approach, but responsive design becomes tricky doing it this way.

+1 for @tomtunstill's request. Trying to figure out a good approach.

Decided to use a different approach in the end, but also came up with some code to arrange the divs into pages before slickifying - it's a little rough, will refine when I get time to be responsive. See http://tomtunstill.github.io/

+1 for @tomtunstill's request!! It was the unique feature that I miss!

$('.carousel').slick({ dots: true, slidesPerRow: 3, rows: 2, responsive: [ { breakpoint: 478, settings: { slidesPerRow: 1, rows: 1, } } ] });

Was this page helpful?
0 / 5 - 0 ratings

Related issues

crstauf picture crstauf  路  3Comments

rahi-rajeev picture rahi-rajeev  路  3Comments

jamesinealing picture jamesinealing  路  3Comments

Libig picture Libig  路  3Comments

barzev picture barzev  路  3Comments