Drop Menu on Ipad won't go away....

Premium, Furniture Joomla Design Shop Template with K2Store support
GK User
Sat May 18, 2013 4:43 pm
Hi,

I have a site here:
www.rivahair.com
and the drop menu on the ipad won't go away even if i set it to use the default when loading. Everything else is fine but for some reason it still loads a drop menu in when i just want the normal menu. How can i disable this? I know it can be done as i had it working before, made some changes and now it won't go away!

Kind regards

Alex
User avatar
Fresh Boarder

GK User
Sun May 19, 2013 12:40 am
Would You like the "mobile menu" to be gone only on iPad, or on small, phone screens also?
Could You provide an URL to Your site?
User avatar
Moderator

GK User
Sun May 19, 2013 5:00 pm
I just want the drop menu to not show on ipad, for it to be the normal menu just like on desktop....

the site is www.rivahair.com

We have a separate site for the mobile anyway so that aspect doesnt matter.

Thanks

Alex
User avatar
Fresh Boarder

GK User
Mon May 20, 2013 9:26 am
Hey Alex, Please send me a PM with:
1. URL to your website
2. login and password of user with admin/super-admin privileges (please create one for me)
3. link to this thread
User avatar
Moderator

GK User
Wed May 22, 2013 12:00 pm
Ok, as You have requested, I have completely disabled mobile functionalities of menu in this template.
I have edited the file:
/tempaltes/rova_normal2012/libs/gk.template.helper.php around line 364, and replaced:
Code: Select all
   function mobile_device_detect () {
      require_once ('mobile_device_detect.php');
      //bypass special browser:
      $special = array('jigs', 'w3c ', 'w3c-', 'w3c_');      
      if (in_array(strtolower(substr($_SERVER['HTTP_USER_AGENT'],0,4)), $special)) return false;
      return mobile_device_detect('iphone','android','opera','blackberry','palm','windows');
   }

with:
Code: Select all
   function mobile_device_detect () {
      require_once ('mobile_device_detect.php');
      //bypass special browser:
      $special = array('jigs', 'w3c ', 'w3c-', 'w3c_');      
      if (in_array(strtolower(substr($_SERVER['HTTP_USER_AGENT'],0,4)), $special)) return false;
      //return mobile_device_detect('iphone','android','opera','blackberry','palm','windows');
      return false;
   }
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.