bootstrap 4 auto center code example
Example: bootstrap col center content
<div class="row">
<div class="col-4 d-flex justify-content-center text-center">
// for image and text
</div>
</div>
<div class="row">
<div class="col-4 d-flex justify-content-center text-center">
// for image and text
</div>
</div>