Is there a way to ensure that all my Bootstrap columns are the same height? Currently, when one column has more content than another, the layout appears uneven.
Here is an example on Fiddle that illustrates the issue:
https://jsfiddle.net/jjq9gygr/
I attempted using the display: flex
approach, but because my HTML does not include a new .row container for every 3 col-xs-4 columns, all the columns end up on the same row instead of wrapping to the next line after 3 columns. I hope that explanation makes sense.
If it's possible to achieve the desired outcome without altering the existing HTML structure, that would be ideal. Any suggestions or solutions are welcome.
<div class="container">
<div class="row">
<div class="col-xs-4 red">
<h3>
Column 1
</h3>
<p>Different amount of text. Different amount of text. Different amount of text. Different amount of text. Different amount of text. </p>
</div>
<div class="col-xs-4 pink">
<h3>
Column 2
</h3>
<p>Different amount of text. Different amount of text. Different amount of text. Different amount of text. </p>
</div>
<div class="col-xs-4 yellow">
<h3>
Column 3
</h3>
<p>Different amount of text. Different amount of text. Different amount of text. </p>
</div>
<div class="col-xs-4 orange">
<h3>
Column 4
</h3>
<p>Different amount of text. Different amount of text. Different amount of text. Different amount of text. Different amount of text. </p>
</div>
<div class="col-xs-4 blue">
<h3>
Column 5
</h3>
<p>Different amount of text. Different amount of text. Different amount of text. </p>
</div>
<div class="col-xs-4 green">
<h3>
Column 6
</h3>
<p>Different amount of text. Different amount of text. Different amount of text. Different amount of text. Different amount of text. </p>
</div>
<div class="col-xs-4 navy">
<h3>
Column 7
</h3>
<p>Different amount of text. Different amount of text. Different amount of text. Different amount of text. Different amount of text. Different amount of text. </p>
</div>
</div>