title: How to align 3 boxes in twitter bootstrap horizontally?
body: <p>I need to insert 3 boxes next to each other in wordpress theme. I'm using <strong>wp-bootstrap theme</strong>.</p>
  
  <p>What I did I create a page and I named it "offers", and I wrote the following code</p>
  
  <pre><code>&lt;div class="col-xs-4 text-center offer-box"&gt;
      &lt;h1&gt;Offer 1&lt;/h1&gt;
              &lt;p&gt;Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. &lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div class="col-xs-4 text-center offer-box"&gt;
      &lt;h1&gt;Offer 2&lt;/h1&gt;
  &lt;p&gt;Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. &lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div class="col-xs-4 text-center offer-box"&gt;
      &lt;h1&gt;Offer 3&lt;/h1&gt;
              &lt;p&gt;Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. &lt;/p&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>in css file, I wrote</p>
  
  <pre><code>.offer-box {
      background: #f4e759;
      height: 300px;
      border-radius: 10px;
  }
  
  .offer-box h1 {
      color: #080808;
  }
  
  .offer-box p {
      color: #080808;
      font-size: 1.2em;
  }
  </code></pre>
  
  <p>It works but the boxes appear without margins. I need to make it with margins left and right for each box.</p>
  
  <p>It should appear like that image exactly<br>
  <img src="https://i.stack.imgur.com/WiiLZ.png" alt="enter image description here"></p>