0

Need to vertically align the content inside the two col-md-6 cols. I've tried with table-cell hack but its not working in this case. Thanks.

<div class="row">
  <div class="col-md-6 sub-bloque-texto">
    <h1>text content</h1> <p> text <p>
  </div>
  <div class="col-md-6">
    <img src="images/image.jpg" alt="">
  </div>
</div>
Mauro Barrionuevo
  • 155
  • 1
  • 1
  • 8
  • Vertically align to what? Baseline? And what exactly did you try? – JohnnyBizzle Apr 02 '17 at 23:20
  • I tried with a class "parent" in the row with display:table and "child" classes to the cols with vertical-align:middle. By default the text content is on the top of the div. What i need is to vertically center it with fluid height. – Mauro Barrionuevo Apr 03 '17 at 00:11

0 Answers0