Support » Theme: Kadence » Problem with current menu item and anchor links

  • If i have 4 sections for example with elementor ids


    and then I have a princpipal menu in wordpress menu manager with my anchors for click and go to that section.

    The problem is that all my menu links in principal menu has current menu item style active always. And this is wrong. This is a bug?¿?


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


    Thanks for reaching out! Are you able to post a link?


    Thread Starter sermalefico


    Hi! you can view there link




    Please note that an active class is added to the menu items if their URL is the current page. Since your menu links to sections that are on the homepage and just have the hash on the URL, it is marked active while you’re on the homepage.

    We do not have a built-in option to remove the active states for this. You’ll have to add a custom script like this so they will not be marked as active on the homepage unless clicked.

    You can add the script using plugins like Insert Headers and Footers.

    Hope this explains and let us know if we can assist you further.


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