Search…

X3 Photo Gallery Support Forums

Search…
 
wpisdu
Topic Author
Posts: 4
Joined: 01 Jun 2015, 10:11

Menu hidden but still showing on iPad

01 Jun 2015, 12:59

Hi,

Quick one, I have
Code
body: no-footer no-header
and it works well for the desktop version of Safari / Chrome, however the menu is still shown on my iPad.

Is there any easy way to get rid of it?

Thanks!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Menu hidden but still showing on iPad

01 Jun 2015, 13:34

Well, the no-header and no-footer classes are basically just quick tools to remove the header and footer section of the website. On mobile, the menu isn't really part of neither the header or the footer ...

You could add your own class to easily achieve this. Go to custom/css/, add the following:
Code
.no-menu .sb-slidebar, .no-menu .sb-toggle {
  display: none !important;
}
Then, in the same "body:" page setting, simply add "no-menu".
 
wpisdu
Topic Author
Posts: 4
Joined: 01 Jun 2015, 10:11

Re: Menu hidden but still showing on iPad

02 Jun 2015, 10:21

Working perfectly fine, thank you!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Menu hidden but still showing on iPad

08 Jun 2015, 14:42