<?php if($this->API->get('show_menu', 1)) : ?>
<div id="gkMainMenu" <?php echo $this->API->get('menu_type', 'classic') == 'overlay' ? 'class="gkMenuOverlay"' : 'class="gkMenuClassic"'; ?>>
<?php
$this->mainmenu->loadMenu($this->API->get('menu_name','mainmenu'));
$this->mainmenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
?>
</div>
<?php endif; ?>
<?php if($this->API->get('show_menu', 1)) : ?>
<div id="gkMobileMenu" class="gkPage"> <i id="mobile-menu-toggler" class="fa fa-bars"></i>
<label for="mobileMenu"><?php echo JText::_('TPL_GK_LANG_MOBILE_MENU_LABEL'); ?></label>
<select name="mobileMenu" id="mobileMenu" onChange="window.location.href=this.value;">
<?php
$this->mobilemenu->loadMenu($this->API->get('menu_name','mainmenu'));
$this->mobilemenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
?>
</select>
</div>
<?php endif; ?>
<?php if($this->API->modules('mainmenu')) : ?>
<div id="gkMainMenu">
<jdoc:include type="modules" name="mainmenu" style="<?php echo $this->module_styles['mainmenu']; ?>" />
</div>
<?php endif; ?>
teitbite wrote:Hi
Yes, my solution removes our menu entirely and replaces it with a module position, so the menu You will use in it's place will need to come with a functionality of providing mobile menu. There is no way to remove the menu partially to still provide it for mobile devices.