mainmenu shows strange in default layout at mobile phone

Elegant Joomla template designed especially for both professional and personal website presentation.
GK User
Wed Jun 26, 2013 2:35 pm
Hi,

knapskincarestore.nl has only a problem at mobile phones with the main menu. At the iphone it tries to show everything vertically under each other.

Anyone knows how to fix this?

Regards,
Ronnie
User avatar
Expert Boarder

GK User
Sat Jun 29, 2013 6:05 am
Hi,

Do you mean that the page displays on the mobile phones with the mobile - different layout? It is a normal behaviour - page loads different layouts for mobile phones and desktop users.
User avatar
Administrator

GK User
Sun Jun 30, 2013 10:15 pm
I have choosen default everywhere. But the main menu shows items under each other on my iphone 5 in fact of next to each other. It's not normal, the mobile layouts give problems for clients because they expect the normal website, thats why it's everywhere on default layout.
User avatar
Expert Boarder

GK User
Mon Jul 01, 2013 9:20 am
Please open file lib/gk.framework.php and please edit fragment like this:

Code: Select all
// mobile mode
           if ($this->browser->get('mobile')) {
               $this->getLayout('mobile');
           } else {    
              if ($this->browser->get('browser') == 'facebook') { // facebook mode
                   $this->getLayout('facebook');
               } else { // normal mode
                   $this->getLayout('normal');
               }
           }


to:

Code: Select all
   
 if ($this->browser->get('browser') == 'facebook') { // facebook mode
      $this->getLayout('facebook');
} else { // normal mode
     $this->getLayout('normal');
}


it should helps in disabling totally the mobile mode.
User avatar
Administrator

GK User
Thu Jul 18, 2013 8:42 am
still the menu is not horizontally, it still jumps downwards and items disappear
User avatar
Expert Boarder

GK User
Thu Jul 18, 2013 10:05 am
Sorry but without viewing your website I won't be able to help more.
User avatar
Administrator

GK User
Mon Jul 22, 2013 8:24 am
see first post for website adress: knapskincarestore.nl
User avatar
Expert Boarder

GK User
Mon Jul 22, 2013 11:45 am
Could you provide me administrator access to your website ? I probably need also FTP details. You can use PM to send me all data but please remember to add link to this forum topic to your message.
User avatar
Platinum Boarder


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