?> <!-- Right Nav Section --> <ul class="right search"> <li class="has-form"> <?php get_template_part('parts/searchform'); ?> </li> </ul> <!-- Left Nav Section --> <?php } ?> <?php xt_get_nav_menu('main-menu', array('menu_class' => 'menu' . $mainmenu_stretch_items . ($mainmenu_show_logo ? ' has-logo right' : ' left'), 'container' => false)); $menu_location = 'main-menu'; ?> </section> </nav> </div> <!-- End Main Menu Bar --> <?php } ?> <style> .main-menu .top-bar-section ul.search a.search-close-button{ top:10px;} .main-menu .top-bar-section ul.search input{ top:0px;} .main-menu .top-bar .has-form .button{top:10px;}
global $current_page_title; $topbar_page_title = (bool) xt_option('topbar-sticky-page-title', null, 1); if ($topbar_page_title && !is_front_page() && !empty($current_page_title)) { ?> <ul class="left page-title show-for-large-up"> <li><?php echo xt_trim_text($current_page_title, 25); ?> </li> </ul> <?php } ?> <?php xt_get_nav_menu('main-mobile-menu', array('menu_class' => 'left menu show-for-small-only clearfix', 'container' => false)); ?> <?php $social_networks_mobile_enabled = (bool) xt_option('topbar-mobile-menu-search'); if (!empty($social_networks_mobile_enabled)) { ?> <!-- Search Section --> <ul class="search show-for-small-only clearfix"> <li class="has-form"> <?php get_template_part('parts/searchform'); ?> </li> </ul> <?php
<?php $menu = xt_get_menu_by_location('left-side-push-menu'); ?> <!-- Off canvas sticky menu --> <aside class="off-canvas-menu left-off-canvas-menu"> <?php if (!empty($menu)) { ?> <label class="push-menu-label"><?php echo $menu->name; ?> </label> <?php } ?> <?php xt_get_nav_menu('left-side-push-menu', array('menu_class' => 'off-canvas-list', 'container' => false, 'dropdown_class' => 'f-dropdown drop-right', 'dropdown_label' => true)); ?> </aside> <!-- End Off canvas sticky menu -->