How add spaces between Slick carousel item

Sopo picture Sopo · Jun 23, 2015 · Viewed 116.5k times · Source

I want to add space between two slick carousel items, but not want the space with padding, because it's reducing my element size(and I don't want that).

enter image description here

Somehow I am getting space from both side, I am trying to remove that.

Answer

Dishan TD picture Dishan TD · Jul 26, 2015
    /* the slides */
  .slick-slide {
    margin: 0 27px;
  }
  /* the parent */
  .slick-list {
    margin: 0 -27px;
  }

This problem reported as issue (#582) on plugin's github, btw this solution mentioned there too, (https://github.com/kenwheeler/slick/issues/582)