• Hi,

    I stumbled across an issue with the Menu structure functionality in WordPress, not sure if that’s how it worked before customizing the website but definitely trying to fix it.

    The problem is that the menu with the third level is not functioning correctly. It has all the menu items displaying even if the sub-menu item is not selected. I need it to function the same way it is with the main level structure, where when the menu item is clicked it uncollapses the menu items but for some reason when you get deeper with the levels it just opens the menu items up without giving you the ability to toggle them for visibility or not.

    Basically, the Business Security > Industry Solutions has five menu items. I need the Industry Solutions Menu item to be collapsed unless toggled. For some reason it just opens all the menu items. I also noticed something is triggering all the sub-sub-menu items to display: block without first performing display: none, perhaps a Javascript script problem.

    I have attached a couple images. Any help is fully appreciated.

    https://imgtr.ee/image/IbUT6G
    
    https://imgtr.ee/image/IbUMC7
    • This topic was modified 10 months, 3 weeks ago by paul13234.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    While WP is responsible for the menu’s HTML, specifically how it looks and behaves is up to your theme. I suggest seeking assistance through your theme’s dedicated support channel where its devs and support staff are in the best position to help you.

    Note that the page you linked to has a number of console errors. Any kind of script errors here can indirectly affect other scripts on the page. I recommend resolving these errors before deciding there’s something wrong with menu behavior.

    The “$ is not a function error” is because WP jQuery runs in noConflict mode and the usual $ shortcut for jQuery does not work by default. The code must either not use the shortcut, or reinstate it via a noConflict wrapper. Since the responsible cal-scripts.js file belongs to your theme, the onus is on your theme’s devs to get this right.

Viewing 1 replies (of 1 total)
  • The topic ‘Mobile Top Navigation Not Working Correctly for Sub Sub-Menu Items’ is closed to new replies.