0
Welcome Guest! Login
2 items / $48.00 Checkout

bootstrap columns not working in content-item

  • bootstrap columns not working in content-item

    Posted 10 years 5 months ago
    • Hi,

      I try to force 2 column layout with the Gantry-base template. But it seems that the BS-code is not interpreted. I've put following code into my content-item but the columns do not appear next to each other.
      <div class="row">
      <div class="col-md-6">
      <h2>Het echte vakantiegevoel</h2>
      </div>
      <div class="col-md-6">
      <h2>Het echte vakantiegevoel</h2>
      </div>
      </div>

      If I use this code on bootply it works so there something interfering here?

      Look at kpt.siteflex.nl/index.php/nl/ I expected 2 columns next to each other in the main-content area.

      Any Ideas?

      Mark
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: bootstrap columns not working in content-item

    Posted 10 years 5 months ago
  • Re: bootstrap columns not working in content-item

    Posted 10 years 5 months ago
    • Henning thanks for quick response.

      The final code that works is:
      <div class="row-fluid">
        <div class="span12">
           <div class="row-fluid">
                <div class="span1"></div>
                <div class="span5">test</div>
                <div class="span5">test</div>
                <div class="span1"></div>
           </div>
        </div>
      </div>

      Thanks again.

      Mark
    • The following users have thanked you: Cheri Schappaugh

Time to create page: 0.049 seconds