swapping out the topbar menus
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 23 Jan 2018 19:44:29 +0000 (14:44 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 23 Jan 2018 19:44:29 +0000 (14:44 -0500)
template-parts/main-nav.php
template-parts/top-nav.php

index 948a901..d7649f2 100644 (file)
@@ -1,5 +1,12 @@
-<nav id="site-navigation" class="main-navigation" role="navigation">
-       <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu' ) ); ?>
+<nav class="top-bar text-center show-for-large-up opensearchserver.ignore" data-topbar role="navigation">
+       <section class="top-bar-section">
+               <?php glm_theme_top_bar('top-bar'); ?>
+       </section>
+       </nav>
+       <nav class="tab-bar hide-for-large">
+       <section class="left-small">
+               <a class="left-off-canvas-toggle menu-icon" href="#"><span>Menu</span></a>
+       </section>
 </nav><!-- #site-navigation -->
 
 <a class="search-button" href="#" id="trigger-overlay"></a>
\ No newline at end of file
index 68b5a29..fa03ea2 100644 (file)
@@ -14,7 +14,7 @@
        <div class="top-menu-left">
                <nav class="top-bar text-center show-for-large-up opensearchserver.ignore" data-topbar role="navigation">
                        <section class="top-bar-section">
-                               <?php glm_theme_top_bar('top-bar'); ?>
+                               <?php glm_theme_top_bar('top-bar-2'); ?>
                        </section>
                </nav>
                <nav class="tab-bar hide-for-large">