• Hello all,

    I have implemented a drop down menu using jQuery. I am not a developer, I try and get along as best I can ??

    In my menu I want one of the top level pages to have no link (only the child items need links to their respective pages).

    How do I remove the link to this item?

    Here is my site.

    The item I don’t want to have a link is “Identify Your Need”

    Thanks in advance…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi

    If you are generating these links with wp_list_pages (the typical way WP nav is created) there is a plugin you can install
    https://www.technokinetics.com/plugins/page-lists-plus/
    That allows you to include a page item in a menu without a link. (You will have to style for that however as it generates an LI without an inner A tag).

    I tend to use that plugin to create a link of “#” which keeps the user on the same page if it is clicked.
    I also define CSS on the link of cursor: default which keeps the normal cursor, not the pointer cursor. So even though it is a link, it doesn’t look or act like a link.

    However you can remove it as a link altogether with the method I mentioned first.

    Thread Starter isukathis

    (@isukathis)

    Hi stvwlf,

    Thanks for the reply. This worked, however, it has removed the space after the link. Please take a look…

    https://igniteabilitycoaching.com/

    Any ideas?

    Thanks in advance…

    Thread Starter isukathis

    (@isukathis)

    Hi stvwlf,

    I figured out that I had to add a class to that item with a margin right attribute…

    This works perfectly now… Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menu problem’ is closed to new replies.