Ensuring my columns and rows are aligned to the same height and position is essential. I have successfully achieved this in desktop view, but I am encountering challenges when it comes to mobile view.
I have included 3 images for reference. The first depicts the correct desktop view, the second showcases the mobile view, and the third illustrates the ideal mobile view I am aiming for.
https://i.sstatic.net/7Skp8.jpg
<div class="container">
<div class="row align-items-start">
<div class="col-md">
<h2>Környezetvédelem</h2>
</div>
<div class="col-md">
<h2>Történetünk</h2>
</div>
<div class="col-md">
<h2>Kapcsolat</h2>
</div>
</div>
<div class="row align-items-center">
<div class="col-md ">
<img class="img-fluid indep-sub-image" src="img/indep-menu/kornyezetvedelem.jpg">
</div>
<div class="col-md">
<img class="img-fluid indep-sub-image" src="img/indep-menu/tortenetunk.jpg">
</div>
<div class="col-md">
<img class="img-fluid indep-sub-image" src="img/indep-menu/kapcsolat.jpg">
</div>
</div>
</div>
My goal is to maintain the proper alignment in desktop view, especially when the title spans two lines, while also achieving the correct order in mobile view.