I am facing an issue in owl carousel where my absolute element (placed in the carousel item) with the 'description' class is going behind the next item. I have tried various methods to bring it forward but without success. Can someone please assist me?
Here is an example of what I am trying to achieve: https://i.sstatic.net/c1QuG.jpg
<div class="owl-carousel topfeatured">
<div class="item">
<div class="thumb" style="background-image: linear-gradient(-60deg, #fff 0%, rgba(255, 255, 255, 0) 100%), url(https://tinys.club/wp-content/uploads/2017/07/1343232_mkt-pm_got_s7_jon_po.jpg);"></div>
<div class="description">
</div>
</div>
...
.topfeatured {
overflow: hidden;
height: 400px;
}
.topfeatured .item {
position: relative;
height: 400px;
}
...
You can view the full code and test it in this fiddle: http://jsfiddle.net/4653f7xk/3/