Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #196020

    Hi

    I have a main menu with many items. My client does not want his logo to shrink or be affected by the menu. So i want to trigger the mobile menu earlier than is standard. iPad landscape is just ok. But iPad portrait needs to have the mobile menu.
    menu ipad portrait
    I am using the slide out mobile menu on this site.
    I am using a child theme with a style.css so i can add extra mediaqueries at the bottom of that file.
    Is this ok to do? How can this be done?

    #196028

    Ok, so it seems that i fixed it after searching the forum. Sorry.
    THE FIX:

    – Ad css to childtheme/style.css:

    @media only screen and (max-width: 959px) {
    .responsive #header .main_menu ul { display: none;}
    .mobile_active #advanced_menu_toggle { display: block;}
    }

    – Change in enfold/avia.js:
    switchWidth = 959;

    Thanks guys

    • This reply was modified 10 years, 11 months ago by basilicon.
    #196228

    Hey!

    Glad you figured it out! Let us know if you have any other questions or issues

    Regards,
    Yigit

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Change so that mobile menu triggers earlier’ is closed to new replies.