I'm using Zurb Foundation 4 for a website, I've already used it, but I never tried the sticky or fixed topbar class.
The problem is that when I set up the sticky or the fixed class to my nav wrapper, when rendered in browser navbar's height become the double! (I use a container because, from the documentation "To make the top bar stay fixed as you scroll, wrap it in div class="fixed" ")
Anyone knows why the topbar change its height with that classes? I really can't find out a solution!
Here is the code:
<div class="contain-to-grid fixed">
<nav class="top-bar">
<ul class="title-area">
<li class="name">
<h1><a href="#">Title</a></h1>
</li>
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
</ul>
<section class="top-bar-section">
<ul class="right">
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
</ul>
</section>
</nav>
</div>