Is their an simple way in CSS to have a fixed maximum of child items on the same line, before you push the next child elements to a new line?
If you are using it with bootstrap you shoul add this css for pseudo row class
.row:before, .row:after{ width:0 !important; }