I want to have the text be vertically aligned in the middle and if possible nearer to the image. But vertical align middle does not seem to be working. Also, when i change the screen's width it does not resize but turned from horizontal row to vertical, and fails to stay in the section.
I currently have a div row in a section, which gives me this result:
When changing screen's width:
<section style="background-color:lightblue;">
<div class="container-fluid justify-content-center align-middle text-center pt-2 pb-2" style="max-height:600px">
<div class="row no-gutters align-middle">
<div class="col-lg-5">
<h2>Text</h2>
<p>Et qui deserunt nostrum epellatsitatibus et id veniam eius veniam animi repellat quas.</p>
</div>
<div class="col-lg-2">
<img src='img\img_combined2.png' alt='' style="max-height:600px;"/>
</div>
<div class="col-lg-5 text-center align-middle">
<h2>Text</h2>
<p>Et qui deserunt nostrum voluptates error quod. Quia reiciendis beatae. Hic beatae molestiaeserunt autem. Est necessitatibus et id veniam eius veniam animi repellat quas.</p>
</div>
</div>
</div>
</section>