Hello,
Your Website must be using the CSS Codes from Canvas 6 in order for the above codes to work correctly, then the Text will be displayed overlaying the Image. You can check more examples here: http://themes.semicolonweb.com/html/canvas/item-overlays.html .
Additionally, as we have mentioned in our previous reply, these odes must be placed inside the Bootstrap Grid. Example:
<div class="row">
<div class="col-lg-4">
<article class="portfolio-item transform-ts h-scale">
<div class="portfolio-image">
<a href="portfolio-single.html">
<img src="images/magazine/3.jpg" alt="Image" />
</a>
<div class="bg-overlay">
<div class="bg-overlay-content dark">
<span class="overlay-trigger-icon size-lg op-ts bg-dark text-light animated op-07" data-hover-animate="op-1" data-hover-animate-out="op-07" style="animation-duration: 600ms;"><i class="icon-line-image"></i></span>
</div>
<div class="bg-overlay-content text-overlay-mask dark align-items-end justify-content-start">
<h4 class="mb-0">Beautiful Hair</h4>
</div>
</div>
</div>
</article>
</div>
<div class="col-lg-4">
...
</div>
<div class="col-lg-4">
...
</div>
</div>
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.