title: How to show Only 4 slides in a row using Bxslider
body: <p>I have Bxslider on my page and two  sliders </p>
  
  <p>First here and in works great</p>
  
  <p><a href="https://i.stack.imgur.com/4eIRw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4eIRw.jpg" alt="Top Slider"></a></p>
  
  <p>Second here is bottom slider</p>
  
  <p><a href="https://i.stack.imgur.com/Cp62W.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cp62W.jpg" alt="bottom slider"></a></p>
  
  <p>It makes more and more rows (since i add new items to slider), but all i need is that it will show only 4 slides in a single row (i don't need another rows). </p>
  
  <p>Here how it looks in code </p>
  
  <pre><code>&lt;div class="popular-slider"&gt;
      &lt;ul class="bxslider"&gt;
          &lt;li&gt;
              &lt;div class="popular"&gt;
                  &lt;div class="item"&gt;
                      &lt;img src="img/popular1.jpg"&gt;&lt;br&gt;
                      &lt;p&gt;
                          &lt;a href="#"&gt;Item text 1&lt;/a&gt;
                      &lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="item"&gt;
                      &lt;img src="img/popular2.jpg"&gt;&lt;br&gt;
                      &lt;p&gt;
                          &lt;a href="#"&gt;Item text 2&lt;/a&gt;
                      &lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="item"&gt;
                      &lt;img src="img/popular3.jpg"&gt;&lt;br&gt;
                      &lt;p&gt;
                          &lt;a href="#"&gt;Item text 3&lt;/a&gt;
                      &lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="item"&gt;
                      &lt;img src="img/popular4.jpg"&gt;&lt;br&gt;
                      &lt;p&gt;
                          &lt;a href="#"&gt;Item text 4&lt;/a&gt;
                      &lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="item"&gt;
                      &lt;img src="img/popular4.jpg"&gt;&lt;br&gt;
                      &lt;p&gt;
                          &lt;a href="#"&gt;Item text 5&lt;/a&gt;
                      &lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="item"&gt;
                      &lt;img src="img/popular4.jpg"&gt;&lt;br&gt;
                      &lt;p&gt;
                          &lt;a href="#"&gt;Item text 6&lt;/a&gt;
                      &lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="item"&gt;
                      &lt;img src="img/popular4.jpg"&gt;&lt;br&gt;
                      &lt;p&gt;
                          &lt;a href="#"&gt;Item text 7&lt;/a&gt;
                      &lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="clear"&gt;&lt;/div&gt;
              &lt;/div&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here what I have in css</p>
  
  <pre><code>.main-content .popular {
    background: #fff;
  }
  .main-content .popular .item {
    float: left;
    width: 25%;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
  }
  .main-content .popular .item:after {
    content: "";
    width: 2px;
    height: 100%;
    background: #f5f5f5;
    position: absolute;
    right: 0;
    top: 0;
  }
  .main-content .popular .item p {
    text-align: left;
    padding-left: 20px;
  }
  .main-content .popular .item p a {
    font-size: 16px;
    color: #414a56;
  }
  </code></pre>
  
  <p>Here is my bxslider code </p>
  
  <pre><code>$(function(){
    $('.bxslider').bxSlider({
      auto: true,
      autoControls: true,
      speed: 500
    });
  });
  </code></pre>