Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #389077

    How can I deactivate a menu item link if I’m already on that page?

    So if my menu has four options (Home, Work, About, Contact) and I click on “About” to go to the about page. I no longer want “About” to be clickable in the menu.

    #389461

    Hey Michae1!

    Please try adding following code to Quick CSS

    li.current_page_item > a {
    pointer-events: none;
    }

    Best regards,
    Yigit

    #389550

    Hi Yigit,

    Thanx, but no luck with this yet. Any other ideas?

    #389597

    Hi!

    Please use following code instead

    li.current-menu-item > a {
    pointer-events: none;
    }

    Cheers!
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.