I've been fighting with Bootstrap and Masonry for over 3-4 hours now and searched tons of articles but couldn't find the solution.
Here's the thing:
I have Bootstrap Grid that looks like this:
<div class="itemsContainer">
<div class="col-md-6 item"></div>
<div class="col-md-3 item"></div>
<div class="col-md-3 item"></div>
</div>
In total there are 12 columns and without Masonry it works just perfect. But as soon as I include Masonry, the third column drops down.
If I make it 6-6 columns or 4-4-4 columns and 3-3-3-3 they work fine, but 6-3-3 doesn't work.
Does anyone have a solution for it? Any ideas how to have this cool layout? Do I have to implement my fluid grid? Why does Masonry break with Bootstrap?
This is a JS fiddle to illustrate https://jsfiddle.net/bePolite/52VtD/11921/embedded/result/
bootstrap Grid Example
this will show you like this:
need to include an
<div class="row">
will work, like you want...