New Topic

Disabling Parent Menu Links of Dropdowns

Home › Forum › Documentation › Disabling Parent Menu Links of Dropdowns

This topic contains 0 replies, has 1 voice, and was last updated by  StartupWP 6 years ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #595

    StartupWP
    Keymaster

    Make sure to create your menu custom under Appearance > Menus in your WP admin, see:

    https://startupwp.com/topic/setting-a-custom-menu/

    For the top menu item(s) which you do not want to be clickable, you’ll see “Links” on the left. For the URL, add either:

    #

    OR

    javascript:void(0)

    OR

    Update: It looks like simply leaving the URL field blank will work the best.

    And for the text add whatever you’d like.

Viewing 1 post (of 1 total)

The topic ‘Disabling Parent Menu Links of Dropdowns’ is closed to new replies.