I have a template in html with a media object containing a logo and text, both within a column of width 5. Currently, it is not centered and aligned to the left. I am looking for a way to centrally align the media block within the column, regardless of its size (5,7,9,12). Any suggestions on the best approach to achieve this? Below is the HTML code snippet. The template utilizes Bootstrap versions 3.3.7 and 4.0.0 beta.
<div class="row">
<div class="col-xl-5 col-lg-5">
<div class="media">
<img class="align-self-center mr-3 welcome-icon-size" src="{% static 'images/yap-logo-possible-1.png'%}" alt="Generic placeholder image">
<div class="media-body">
<h1 class="mt-0 welcome_title">Split Beta</h1>
</div>
</div>
</div>
</div>
Displayed images: