My issue is when ever the links are hover, the hidden sub menu pushes the below div with it. I've tried playing around z-index but still no luck. Can someone please help me with this. my jsfiddle
HTML:
<div class="row" id="top-eybrow">
<div class="eyebrow-section right text-left">
<ul>
<li>
<a href="#">Sign in</a>
</li>
<li>
<a href="#">Register</a>
</li>
<li>
<a href="#">My acount <i class="fa fa-sort-desc dropdown-i fa-fw"></i></a>
<ul>
<li>
<a href="#">Add listtings</a>
</li>
<li>
<a href="#">Update my profile</a>
</li>
<li>
<a href="#">View all listings</a>
</li>
<li>
<a href="#">My sales</a>
</li>
<li>
<a href="#">Messages</a>
</li>
</ul>
</li>
<li>
<a href="#">Help</a>
</li>
</ul>
</div>
</div>
<div class="clearfix clear-columns"></div>
<div class="row clearfix leaderbord-ad">
<img src="https://s3.amazonaws.com/upload.uxpin/files/209268/214371/Screen_Shot_2015-06-01_at_4.42.14_AM.png">
</div>
CSS:
.eyebrow-section
{
margin-right: -45px;
position: relative;
z-index: 100 !important;
}
.leaderbord-ad
{
padding-top: 10px;
position: relative;
z-index: -100 !important;
}
As said z-index is not the issue here. Add this line to your
css
https://jsfiddle.net/8L8rpscd/5/