Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #432017

    Hello:

    I am sure it has been asked before and I am sorry for the repeat, but I am looking to only have a mobile menu on an iPad no matter the orientation. There are too many links in the menu and they run over the logo when the site is viewed on an iPad in landscape (not in portrait). Any suggestions would be greatly appreciated.

    KennedyCatholic.org

    Sincerely,

    Jacob

    #432428

    Hey jbergmeier!

    Try adding this to your custom CSS.

    @media screen and (max-width: 900px) {
    nav.main_menu { display: none !important; }
    #advanced_menu_toggle { display: block !important; }
    }

    Regards,
    Elliott

    #432486

    Thank you, Elliott.

    Unfortunately that didn’t work.

    Portrait works http://imgur.com/9yveWLq

    Landscape still does not http://imgur.com/dbsrnU3

    Thank you!

    #433030

    Hi!

    Try increasing the 900px value in the code to something higher like 1100px. It depends on your tablet resolution, how many pixels the screen width has.

    Best regards,
    Elliott

    #990599

    Please try that code. It worked perfectly in my case!

    @media screen and (max-width: 1024px) {
    .home #avia-menu > li, .home .menu-item {
    display: none !important;
    }

    .home #avia-menu .av-burger-menu-main, .home #avia-menu .menu-item-search-dropdown {
    display: block!important;
    }
    }

    #990677

    Hi dbisolutions,

    Thanks for sharing, much appreciated :-)

    I’ll close this thread for now since it’s more than 3 years old.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Force Mobile Menu Despite Orientation’ is closed to new replies.