My homepage consists of multiple blocks(top part/mid part/bottom part). I've created a row for each block. I want to add some space between my blocks in Bootstrap. Can I simply give my rows id's and add some margin, or is this wrong?
Structure of my code:
<div class="container" id="ho_main_content">
<div class="col-md-12 text-center"></div>
This "answer" of mine should really be a comment; however, I don't have enough rep.
For an answer, yes, give the divs with the
row class another class, probably something like this, spacing the top and bottom of each 10px:
margin: 10px 0;
An important thing to think about when using frameworks like bootstrap is that it isn't the end of the world if you modify the components or spacing or something. Some things won't look like you want them to; just give them extra classes, or if you are desperate, use the
!important flag. It was built on the same technology, after all.