Created
April 15, 2015 13:41
-
-
Save Luciaisacomputer/27dda50e09e7faf0a2d7 to your computer and use it in GitHub Desktop.
Mobile dropdown menu for Foundation. Add to topbar.php and remove lines 42-53 in header.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="top-bar-container contain-to-grid show-for-small-up"> | |
<nav class="top-bar" data-topbar role="navigation"> | |
<ul class="title-area"> | |
<li class="name"> | |
<h1><a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></h1> | |
</li> | |
<li class="toggle-topbar menu-icon"><a href=""><span>Menu</span></a></li> | |
</ul> | |
<section class="top-bar-section"> | |
<?php foundationPress_top_bar_l(); ?> | |
<?php foundationPress_top_bar_r(); ?> | |
</section> | |
</nav> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment