css - Bootstrap sidebar code -
i never coded css. i've overrided bootstrap css containers (container-two menu, container rest). also, there custom css. i've copied here: http://paste.laravel.com/jiy.
how make sidebar on right/left side (easy configurable) in well. i've tried several things margins don't trick. little boxes. provide example or something? can view master/base layout: http://paste.laravel.com/jiz
thanks in advance.
instead of trying override bootstrap's container
, should use bootstrap's container-fluid
instead (right below container in docs). allows do:
<div class="container-fluid"> <div class="row-fluid"> <div class="span2"> <!--sidebar content--> </div> <div class="span10"> <!--posts content--> </div> </div> </div>
to have sidebars on left, or:
<div class="container-fluid"> <div class="row-fluid"> <div class="span10"> <!--posts content--> </div> <div class="span2"> <!--sidebar content--> </div> </div> </div>
to have sidebars on right. can change number of <div class="span#"></div>
's have many sections in row need.
Comments
Post a Comment