Hi Pawel,
I am using gk_simplicity on J2.5. I did chnges in default.php to show mobilemenu just on mobile devices. But it is stil on ipad, and smartphones. In mobilemenu "Portfolio" must not be visible, bcs it is not responsive. Can you please help me
http://www.viro-its.hrRegards
Berti
<div class="gkPage" id="gkHeaderNav">
<?php $this->layout->loadBlock('logo'); ?>
<?php if($this->API->get('show_menu', 1)) : ?>
<div id="gkMainMenu">
<?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">
<?php echo JText::_('TPL_GK_LANG_MOBILE_MENU'); ?>
<select onChange="window.location.href=this.value;">
<?php
$this->mobilemenu->loadMenu($this->API->get('menu_name','mobilemenu'));
$this->mobilemenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
?>
</select>
</div>
<?php endif; ?>
</div>