I am working on making my columns in Bootstrap 3 have equal heights without using 'display: table;' as it affects the overall layout. Here is a snippet of my code:
<article>
<div id="post-<?php the_ID(); ?>"> <!-- getting post's id -->
<div class="row">
<div class="col-md-8 indx-img" style="background-image:url('...');">
</div>
<div class="col-md-4 text-cell">
<h1>title</h1>
<h3>category</h3>
</div>
</div><!-- /#row -->
</div><!-- /#post -->
</article>
I have content on the right and a column with a background image on the left that needs a specified height for the image to show properly. I want this height to be applied to the column with the text too.
To make the height responsive, I have used the following CSS so far:
CSS
indx-img {
padding: 16% 0;
}
The issue is that this height does not affect the column with the text. My ultimate goal is to ensure both columns have equal heights and the text is vertically centered in the 'text-cell' column.