#headerLinks > ul#menu-top-menu > li.menu-item > ul.dropdown {
margin-left: 5px; }
-#headerLinks > ul#menu-top-menu > li.menu-item > ul.dropdown > li > a {
+#headerLinks > ul#menu-top-menu > li.menu-item > ul.dropdown {
width: 55%; }
+#headerLinks > ul#menu-top-menu > li.menu-item > ul.dropdown > li > a {
+ width: 55%;
+ text-align: center; }
+
.top-bar-section li:not(.has-form) a:not(.button) {
background: none; }
$($topMenu).each(function () {
$(this).removeClass("active") ;
});
+
+ $("#menu-menu-4").children("li").children("a.toggle").attr("href", "javascript:void(0)");
});
$($topMenu).each(function () {
$(this).removeClass("active") ;
});
+
+ $("#menu-menu-4").children("li").children("a.toggle").attr("href", "javascript:void(0)");
});
echo '</ul></div>';
}
}
-
+if ( ! function_exists( 'glm_topLinks_mobile_off_canvas' ) ) {
+ function glm_topLinks_mobile_off_canvas() {
+ echo '<div class="left-off-canvas-list">';
+ wp_nav_menu(array(
+ 'container' => false, // remove nav container
+ 'container_class' => '', // class of container
+ 'menu' => '', // menu name
+ 'menu_class' => 'off-canvas-list', // adding custom nav class
+ 'theme_location' => 'header-bar', // where it's located in the theme
+ 'before' => '', // before each link <a>
+ 'after' => '', // after each link </a>
+ 'link_before' => '', // before each link text
+ 'link_after' => '', // after each link text
+ 'depth' => 5, // limit the depth of the nav
+ 'fallback_cb' => false, // fallback function (see below)
+ 'walker' => new Glm_Theme_Off_Canvas_Walker()
+ ));
+ echo '</ul></div>';
+ }
+}
/**
* Footer
*/
<li><a class="insta" target="_blank" href="https://www.instagram.com/visitthesault/"></a></li>
<li><span id="offShareLeft" class='st_sharethis' st_title='<?php the_title(); ?>' st_url='<?php the_permalink(); ?>'></span></li>
</ul>
+<!--
<ul>
<li><a href="<?php bloginfo('url'); ?>/contact-us/">Contact</a></li>
<li><a href="<?php bloginfo('url'); ?>/media/">Media</a></li>
<li><a href="<?php bloginfo('url'); ?>">Group & Conferences</a></li>
</ul>
+-->
+ <?php glm_topLinks_mobile_off_canvas(); ?>
<?php get_template_part('parts/client-info-offcanvas');?>
</aside>
#headerLinks > ul#menu-top-menu > li.menu-item > ul.dropdown{
margin-left: 5px;
}
-
+#headerLinks > ul#menu-top-menu > li.menu-item > ul.dropdown{
+ width: 55%;
+}
#headerLinks > ul#menu-top-menu > li.menu-item > ul.dropdown > li > a{
width: 55%;
+ text-align: center;
}
.top-bar-section li:not(.has-form) a:not(.button){