I am looking to arrange 2 links on the left and 1 on the right side below some images of various sizes. Everything in my main div is currently centered.
main .about p {
margin-left: 50%;
transform: translateX(-50%);
width: 700px;
line-height: 1.5;
font-weight: 400;
z-index: 9;
}
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet" />
<main class="section mb-5">
<!-- Main -->
<section class="container mb-4">
<div class="row">
<div class="col-md-12 ml-md-auto text-center about">
<header>
<h1 class="mb-3">Some Title</h1>
</header>
<img src="image.jpg" height="484" width="700">
<p class="text-left">
<a href="#">FHD View</a> |
<a href="#">4K View</a>
</p>
</div>
</div>
</section>
</main>
Currently, I have set the paragraph under the image to the width of the image, resulting in text only on the left side: https://i.sstatic.net/uS0cd.jpg
What I require is: https://i.sstatic.net/PHsoi.jpg
I believe enclosing the image in a figure element with the text inside it could be part of the solution. What would be the best approach using the latest version of Bootstrap?