Viewing 2 replies - 1 through 2 (of 2 total)
  • You may be able to accomplish this using CSS. For example:

    @media screen and (max-width: 320px) {
    #primary-menu .children {
    display: none;
    }
    }

    The above snippet is based on Twenty Fourteen default theme settings, and should hide sub menus for screens smaller than 320px. The max-width may need to be adjusted if your mobile breakpoint is different.

    Thread Starter mikorka

    (@mikorka)

    Well, I actually do want them to show up buz only when user clicks on the parent menu item.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hide submenu items on mobile view’ is closed to new replies.