Daniel Stoica
Daniel Stoica

Reputation: 65

What bootstrap classes to use for creating a page with a surrounding background?

I need to create a website by using Twitter Bootstrap that will be structured like you see in the image. But considering how Bootstrap is build (based on rows and columns), I am not sure what classes to use, so I will be able to have a background around the menu and content area.

Can someone help? Thanks!

enter image description here

Upvotes: 1

Views: 31

Answers (2)

iurii
iurii

Reputation: 4230

Live example to the @DadaArno answer

UPDATE

<div class="content">
    <div class="row">
        <div class="col-md-6"></div>
        <div class="col-md-6"></div>
    </div>
</div>

Upvotes: 0

DadaArno
DadaArno

Reputation: 200

I think you can add a background to your body. Then, make a .container and paste your menu and content inside. Add a padding to your .container.

I did not try, but I think it can work.

Upvotes: 2

Related Questions