title: How to add padding to the left and right side of grid in Bootstrap WITHOUT padding between grid boxes using col-sm-3
body: <p>I am building a website using Bootstrap and Less.</p>
  
  <p>I have a bootstrap grid, and although I know how to add padding to the left and right using CSS, I only want the padding to be on the left of the first grid box and on the right of the last grid box in the row. There are 4 in a fluid row at the moment. I want them to stay in a row but some space, around 100px between the page edges and the start/end of the grid row.</p>
  
  <p>I do want padding in between the info/text of each grid box, but I want a larger amount on the very far left and the very far right.</p>
  
  <p>At the moment, if I add it to the left and right it obviously adds it to the left and right of each box in the grid row, making the distance between each grid box larger than the distance on the outer sides.</p>
  
  <p>I want a big gap between the row and the edge of the page, but a small gap between each grid box.</p>
  
  <p>I have tried making a class just on the left grid box and setting the padding on just in CSS that but it doesnt work properly, it shifts one of the col-sm-3 boxes underneath the rest.</p>
  
  <p>I have also tried a margin instead of padding but it does the same thing.</p>
  
  <p>Am I doing the right thing slightly wrong or is there a smarter way?</p>
  
  <p>I am new to this so any help much appreciated. Thanks.</p>
  
  <p>Here is part of my code:</p>
  
  <p>HTML
       </p>
  
  <pre><code>&lt;div class="container-fluid"&gt;
  &lt;p class="lead text-center"&gt;
  &lt;div class="text-center"&gt;
      &lt;H1&gt;title title &lt;/H1&gt;&lt;/div&gt;
  &lt;/p&gt;
  &lt;div class="row-fluid" &gt;
      &lt;div class="paddingleft"&gt;
      &lt;div class="col-sm-3"&gt;
      &lt;div class="text-center"&gt;
      &lt;img src="assets/images/image2.png" &gt;
      &lt;/div&gt;
          &lt;h3&gt;title&lt;/h3&gt;
          &lt;p&gt;info&lt;/p&gt;
      &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="col-sm-3"&gt;
      &lt;div class="text-center"&gt;
      &lt;img src="assets/images/image1.png" &gt;
      &lt;/div&gt;
          &lt;h3&gt;title&lt;/h3&gt;
          &lt;p&gt; info
          &lt;/p&gt;
  
      &lt;/div&gt;
      &lt;div class="col-sm-3"&gt;
      &lt;div class="text-center"&gt;
      &lt;img src="assets/images/image3.png" &gt;
      &lt;/div&gt;
          &lt;h3&gt;Title&lt;/h3&gt;
  &lt;p&gt;info &lt;/p&gt;
  
      &lt;/div&gt;
  
      &lt;div class="col-sm-3"&gt;
      &lt;div class="text-center"&gt;
      &lt;img src="assets/images/image4.png" &gt;
      &lt;/div&gt;
          &lt;h3&gt;title&lt;/h3&gt;
          &lt;p&gt;info&lt;/p&gt;
  
      &lt;/div&gt;
  </code></pre>
  
  <p><br>
          </p>
  
  <pre><code>.whatwedo paddingleft {
  padding-left:100px;
  }
  </code></pre>
  
  <p>Thanks guys!</p>