• Hey guys, I’ve got a small issue here.

    I have 2 items in the main menu for a single page website (home & contact-us), the contact-us menu item just jumps to an anchor at the bottom of the homepage.

    As such, the off-screen mobile menu really doesn’t work with my design. It pops out from the side, covers most of the viewport and basically hides the page jumping to the anchor.

    How could I go about disabling this menu? I would just like to keep the desktop menu since it would probably fit, or have a simple pop down menu from the hamburger icon.

    I’m ready and willing to create a child theme and mess about with the functions.php file if there isn’t a simpler way.

    Any ideas would be much appreciated, thank you for your time!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you try to disable the mobile button via custom css?
    like “display: none;”

    Thread Starter staffordz

    (@staffordz)

    @xaver2k

    Thank you for your quick response! I just tried that there, it hides the hamburger but you can still click on its location and bring the menu up.

    I would like to have something in its place, maybe by like stopping it changing to the mobile menu in the first place.

    I installed the WP Mobile Menu plugin hoping it could possibly override it… but that was wishful thinking, it just added an additional menu above haha.

    `

    maybe you disabled too low…
    i putted this:
    .main_menu_col {
    // justify-content: flex-end;
    display: none;
    }

    and it works fine and is not clickable anymore

    Which Class did you disable?? Link?

    • This reply was modified 6 years, 10 months ago by xaver2k.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to disable mobile menu’ is closed to new replies.