• On my website the menu looks like Puzzle -> – up to 50 items; -up to 100 items

    On a computer, menu items are now displayed when you hover over the Puzzle menu. In the mobile version, when I “click” Puzzle, the menu does not expand, the Puzzle page is displayed.

    The link is all over the box (ul, li) I would like the link to be only in the Puzzle text, when I click next to the text, the menu expands.

    Menu settings:
    Puzzle; menu items (product category)

    Theme: ShoppingCart

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Menu behavior varies by theme. To alter theme specific behavior, you should ask in the theme’s dedicated support channel for suggestions. The people there are in the best position to answer theme specific menu questions.

    I can answer regarding the default WP menu scheme though. Menu items are a single element, you can either get follow link on tap behavior or open dropdown on tap, not both. The little + or ▼ you often see next to menu items with child items (theme dependent) are “virtual” elements placed there by CSS. They’re really part of the main menu item, so cannot behave independently.

    To get separate behavior like you want, there’d have to be two separate elements for the one menu item. To do that you’d need a customized Walker_Nav_Menu class object that will do that for you. The nav walker used for a particular menu is specified when wp_nav_menu() is called from the theme’s template.

Viewing 1 replies (of 1 total)

The topic ‘Drop-down menu mobile version’ is closed to new replies.