Viewing 5 replies - 1 through 5 (of 5 total)
  • In the wp-admin under menus you just have to replace the ‘#’ with the url for the parent item.

    If that is not working it might be an issue with the theme and I would advise contacting the theme developer.

    Hope this helps.

    Thread Starter addatomlunare

    (@adamtudorlane)

    Hmm but they arent clickable as they are a dropdown.
    Nowhere does it give me the choice to replace anything as i’m adding in categories to the menu.

    I am not sure how else I can explain it. Do you see the menus under appearance >> menus in the admin? If so you can change the link there by change the “#” text under the url field for the link to the full address of the page you want to link to.

    I have the same problem. In Appearance > Menu All my tabs have urls or linked to the Pages but when it is rendered on web site top level menu tabs which have submenu don’t have url they it just replaced with ‘#’

    In case anyone else runs into this issue, it’s not a problem with the menu settings.

    If your WordPress theme uses Bootstrap for a responsive layout, then the problem is most likely a file called wp_bootstrap_navwalker.php that’s part of your theme.

    There’s code in that file which ALWAYS render the top-most (parent) menu link with a ‘#’ URL if there are child pages below it.

    Here’s a StackOverflow post describing the problem:
    https://stackoverflow.com/questions/25692514/bootstrap-how-do-i-make-dropdown-navigation-parent-links-an-active-link

    Although the “official” solution in that post is a JavaScript solution, the solution I chose is the one by Sohail Qureshi just below the JavaScript one. It involves updating the code in wp_bootstrap_navwalker.php to correctly render top-level links. That solution worked perfectly for me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Make parent menu clickable’ is closed to new replies.