I am currently updating my portfolio project. The page I am working on includes an image with a specific date displayed on it. I want to add text below the image, but I am encountering some issues:
The text I want to include is meant to be a link, like this: https://i.sstatic.net/PtCgM.jpg
However, whenever I try to use a div tag to insert the text, it always ends up outside of the picture. I suspect there may be a specific placement for the div tag that I am missing?
<div class="portfolio logo" data-cat="logo">
<article class="block-thumbnail">
<a href="#" class="block-thumb">
<div class="date">
<span class="day">10</span>
<span class="month">aug</span>
<span class="month">2016</span>
</div>
</a>
<div class="portfolio-wrapper">
<div class="portfolio-hover">
<div class="image-caption">
<div class="col-md-4 col-sm-6 col-xs-12">
<h2>link</h2>
</div>
</div>
<a href="services.php"><img src="img/portfolios/logo/5.jpg" alt="" /></a>
</div>
</div>
</div>