Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Anchor link from another page don’t work / All links shown as active!

Home / Forums / Kadence Theme / Anchor link from another page don’t work / All links shown as active!

This topic is: Not Resolved
[Not Resolved]
Posted in: Kadence Theme
April 24, 2021 at 3:27 am

Hallo there,

I am using the anchor links in the top menu to jump to a section of the page.
This works perfectly without any issues. When clicking to the menu the page scrolls down to the placed anchor.
Example link-text in the menu = #link
When I hover over the menu, the link is shown as “exampledomain.com/#link”

The problem occurs, when I try to click to the link in the menu from another page.
When I hover over the link in the menu from another page the link is shown as “exampledomain.com/anotherpage/#link” and doesn’t work.
The reason why this is not working is obvious.

I have tried to update the link in the menu from just “#link” to “exampledomain.com/#link”
This works but creates another problem for me, since all of the links are now shown as active!

Is there anything I can do to solve this problem and avoid this behavior?

Thanks
Blerim

  • The forum ‘Kadence Theme’ is closed to new topics and replies.