Is it strange that the menu bar remains fixed at the top of the page while scrolling down, but ends up going under another div making it impossible to click on the menu?
#cssmenu {
position: fixed;
left: 0;
top: 0;
height: 40px;
width: 100%;
background-color: #E6E6E4;
}
.row {
margin: 0 auto;
width: 100%;
height: 400px;
}
.col-sm-4 {
height: 100%;
border: 1px solid black;
}
<div id='cssmenu'>
<ul class="menubar">
<li><a href="#" class="btn btn-sm">Please</a></li>
<li><a href="#" class="btn btn-sm">Fix</a></li>
<li><a href="#" class="btn btn-sm">This</a></li>
<li><a href="#" class="btn btn-sm">Problem</a></li>
</ul>
</div>
<div class="container-fluid">
<div class='row'>
<div class="col-sm-4"></div>
<div class="col-sm-4"></div>
<div class="col-sm-4"></div>
</div>
</div>
This is the HTML code.
It's odd that everything works fine with other divs not using the classes container-fluid and row. Can someone help me solve this issue?