-
AuthorPosts
-
July 4, 2016 at 8:49 pm #656741
Hi,
I am making a website with menu on de left side: http://vveadvies.testsites.fyi-marketing.nl/
I would like it to switch to mobile menu if the screen is 1200px or smaller. Can you help me with this?I tried this code from: http://kriesi.at/documentation/enfold/switching-to-mobile-menu-on-higher-resolutions/
If I enter this I do get a mobile menu, but then I still get the sidebar and logo on the left side.@media only screen and (max-width: 1024px) {
#mobile-advanced, #advanced_menu_toggle, #advanced_menu_hide { display: block; }
nav.main_menu { display: none; }}
#wrap_all {
position: relative !important;
}July 5, 2016 at 3:46 pm #657110Hey macmutsaers,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
YigitJuly 5, 2016 at 4:01 pm #657123Hi Yigit,
Thanks!
You can deactivate plugins if necessary.Best regards,
AngelaJuly 7, 2016 at 1:55 pm #658032Hi,
I can’t open your websites. Can you check please and let us know when we can have access?
Best regards,
AndyJuly 7, 2016 at 2:17 pm #658057Hi Andy,
Yes, I know. I am sorry. We are having some server problems and no one to solve them at te moment.
I’ll let you know when you can acces the site again.Best regards,
AngelaJuly 7, 2016 at 2:29 pm #658060Hi,
We will keep the thread open and wait to hear from you Angela. Thread will be on hold and you can simply re-open it by replying to it :)
Best regards,
YigitJuly 11, 2016 at 5:45 pm #659443Hi,
Thanks for waiting. Not yet solved the server problems, but moved the site to anoter url.
You can now go to http://testsites.fyi-marketing.nl/vveadvies/wp-admin/ to log in.
The login information is the same.Best regards,
AngelaJuly 12, 2016 at 12:40 pm #659797Hi Angela,
Please try the following in Quick CSS under Enfold–>General Styling:
@media only screen and (max-width: 1200px) { nav.main_menu {display:none !important;} #advanced_menu_toggle, #advanced_menu_hide {display:block !important;} }
Regards,
RikardJuly 12, 2016 at 1:09 pm #659809Hi Rikard,
Thanks! Unfortunately it is not working. It has the same effect as the code from: http://kriesi.at/documentation/enfold/switching-to-mobile-menu-on-higher-resolutions/ I do get a mobile menu, but then I still get the sidebar and logo on the left side.
Best regards,
AngelaJuly 14, 2016 at 6:08 am #660670Hi,
Since the header is set to display at the left side of the site, please add this css code:
@media only screen and (max-width: 1199px) { .responsive #top #wrap_all #header { position: relative; width: 100%; float: none; height: auto; margin: 0 !important; opacity: 1; } .responsive.html_header_sidebar #main { border: none; } .responsive #top #main { padding-top: 0 !important; margin: 0; } .responsive #top #wrap_all .container { width: 85%; max-width: 85%; margin: 0 auto; padding-left: 0; padding-right: 0; float: none; } }
Best regards,
IsmaelJuly 18, 2016 at 3:34 pm #662057HI,
Thanks! With the combination of the code Rikard gave me and the code Ismael gave me it is almost how it should be.
Only the logo is huge now.Best regards,
AngelaJuly 19, 2016 at 11:42 am #662415Hi Angela,
I think it looks good but if you want it smaller you can try adding padding to it:
.html_header_sidebar .logo { padding: 60px !important; }
Best regards,
RikardJuly 19, 2016 at 3:07 pm #662526HI Rikard,
Thanks. The logo doesn’t have to be smaller in the sidebar. I just want it to be smaller on tablets and Ipads.
Now the whole screen is filled with the logo if you look at the site on a tablet. And in landscape it is even bigger then the screen.Best regards,
AngelaJuly 20, 2016 at 11:44 am #662890Hi,
Ah ok, please try the following instead:
@media only screen and (min-width: 768px) and (max-width: 1024px) { .html_header_sidebar .logo { width: 20% !important; } }
Regards,
RikardJuly 20, 2016 at 1:06 pm #662933Yes, thank you very much!! Problem solved!
July 21, 2016 at 11:18 am #663285 -
AuthorPosts
- The topic ‘mobile menu on tablet when menu is left sidebar’ is closed to new replies.