Slick: Rows 1 not working with breakpoints

Created on 20 Apr 2015  路  10Comments  路  Source: kenwheeler/slick

Hello everyone,

The plugin is really wonderful but I cannot make the row goes to 1 with the responsive option.
Here is an example :

http://codepen.io/anon/pen/qdWMRd

I just want to have a single line with one single item when responsive but Rows: 1 has no effects :(
This is strange because these settings :
slidesToShow: 1, rows: 1
works great when it's set globally.

Thanks for helping

Confirmed Grid / Rows

Most helpful comment

3 years passed and still not working ?

All 10 comments

Trying to do the same and its giving me the same result.

Any solution? I have the same problem

Any solutions yet?

Any updates on this?

+1

I simply changed the lines 545 and 794 (Version: 1.5.8) where there are
if(_.options.rows > 1) {
for
if(_.options.rows > 0) {

And it works fine for me. What is the downside of eliminating these statements ?

Thxs

You should probably figure that out _before_ you edit it ;)

As I said, @simeydotme, "it works fine for me" ;-)
I also found a pull request (https://github.com/kenwheeler/slick/pull/1660/commits) that fixes this bug and I think it is going to be pulled into the main project.

:grin: hehe.

Rows are buggy as heck, I'd suggest avoiding them if you can; hopefully they are fixed up in 2.0.

3 years passed and still not working ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ericestes picture ericestes  路  3Comments

rahi-rajeev picture rahi-rajeev  路  3Comments

NozX18 picture NozX18  路  3Comments

hoghamburg picture hoghamburg  路  3Comments

crstauf picture crstauf  路  3Comments