title: How to create a Slick Slider JS slideshow in center mode
body: <p>I want to implement a carousel using the excellent Slick Slider(<a href="https://kenwheeler.github.io/slick/" rel="nofollow noreferrer">https://kenwheeler.github.io/slick/</a>) which I have used for images before with no problems. I'm trying to create a 'center mode' slideshow like the example except using several div;</p>
  
  <p><a href="https://i.stack.imgur.com/S9yL6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S9yL6.png" alt="center mode example"></a></p>
  
  <p>I want to do something like this; </p>
  
  <p><a href="https://i.stack.imgur.com/W4pvy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W4pvy.png" alt="enter image description here"></a></p>
  
  <p>These are the div's I want to use on codepen here - <a href="https://codepen.io/grabthereef/pen/mdymmgM" rel="nofollow noreferrer">https://codepen.io/grabthereef/pen/mdymmgM</a></p>
  
  <pre><code>     &lt;!-- Single Card --&gt;
       &lt;div class="single_slide"&gt;
        &lt;div class="row"&gt;
          &lt;div class="col-lg-4"&gt;
            &lt;div class="top-text"&gt;
              &lt;h1&gt;DG Aurum&lt;/h1&gt;
            &lt;/div&gt;
            &lt;div class="view-button"&gt;
              &lt;button type="button" class="btn btn-outline-danger-opposite shadow btn-sm m-1"&gt;Live View&lt;/button&gt;
            &lt;/div&gt;            
          &lt;/div&gt;
          &lt;div class="col-lg-8 text-center"&gt;
            &lt;img src="https://i.imgur.com/jieUOmw.jpg" class="shadow website-image" alt="website image"&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>The problem is when I add the Slick Slider code it messes the layout of the page; </p>
  
  <p><a href="https://codepen.io/grabthereef/pen/gObWBVG" rel="nofollow noreferrer">https://codepen.io/grabthereef/pen/gObWBVG</a></p>
  
  <p>I've tried looking through the other questions on here but I can't find a solution that works for me, I'm fairly new to JS.</p>