Ave
Ave

Reputation: 4430

How to insert two item into a list fit width carousel of Slick?

I'm using Slick to create a user profile card like this:

I am having a problem when tried to add two profile card in the same line of a carousel using the Slick library.

I decided to create a class container and container-fluid to create width enough to contain two profile card but I don't know it can't.

And Slick can be responsive my profile card?

Currently, I must be fixed width and height of profile card. So, it becomes broken in mobile UI.

In my pen it shows like:

You can see my pen at here:

http://codepen.io/r0ysy0301/pen/xROzrB

Upvotes: 0

Views: 926

Answers (1)

Amit Kumar
Amit Kumar

Reputation: 314

<div class="container-fluid">
  <div class="row">
    <div class="col-md-12">
      <div class="regular slider slick-slider">

Your html bootstrap structure is totally wrong. I can rewrite the code plz check it on my pen....

You can see solution in my pen at here:

http://codepen.io/inewton/pen/ObXaPO

Upvotes: 1

Related Questions