Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #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;
    }

    #657110

    Hey 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,
    Yigit

    #657123

    Hi Yigit,

    Thanks!
    You can deactivate plugins if necessary.

    Best regards,
    Angela

    #658032

    Hi,

    I can’t open your websites. Can you check please and let us know when we can have access?

    Best regards,
    Andy

    #658057

    Hi 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,
    Angela

    #658060

    Hi,

    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,
    Yigit

    #659443

    Hi,

    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,
    Angela

    #659797

    Hi 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,
    Rikard

    #659809

    Hi 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,
    Angela

    #660670

    Hi,

    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,
    Ismael

    #662057

    HI,

    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,
    Angela

    #662415

    Hi 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,
    Rikard

    #662526

    HI 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,
    Angela

    #662890

    Hi,

    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,
    Rikard

    #662933

    Yes, thank you very much!! Problem solved!

    #663285

    Hi,

    Great, glad we could help :-)

    Please open a new thread if you should have any further questions or problems.

    Thanks,
    Rikard

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘mobile menu on tablet when menu is left sidebar’ is closed to new replies.