• Stiofan

    (@stiofansisland)


    If you create a post on /page1/ and then create the following html:

    <a href='https://example.com/page2/#thing'>link should change page</a>
    <div style='height:2000px;'>space</div>
    <div id='thing'>thing</div>

    This should change the page to /page2/ and anchor on #thing but instead it scrolls to #thing on /page1/

    The issue seems to be in the core theme JS file.

    Can you fix this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Kindly share the page URL and snapshots of the anchor link to check the issue.

    In addition, Would you be so kind and go to Elementor > System Info and share the report with us so that we can take a look?

    Same issue here. It worked before and stopped to work at some point. Needed to remove links; they directed to shopping cart for some reason. But I see that new version 3.1.0 has some anchor link fix, hoping it to solve it. I see there is changelog already but the update is not yet downloadable so can’t test.

    @henesuo, Upgrade is in process and hopefully, it will be available for you very soon. Please try that version and let us know your feedback.

    3.1.0 fixed anchor links at least for me. Thank you!

    Thread Starter Stiofan

    (@stiofansisland)

    This is still not fixed.
    Test site (expires in 8 hours)
    https://s-qh39wcsds7fjl.eu1.wpsandbox.org/anchor-test/

    This is with nothing else active other than the theme, no plugins or anything.
    This is the only HTML on the page (set it on a page with “page1” as the slug):
    link should change page
    <div style=’height:2000px;’>space</div>
    <div id=’thing’>thing</div>`

    The page slugs do not matter, the point is that its linking to a DIFFERENT page but its not changing page but instead scrolling to the anchor on the current page.

    Thread Starter Stiofan

    (@stiofansisland)

    Any update?

    @stiofansisland Apologize for the delay in response.
    As the link expired, unable to check the issue, Can you please resend the URL, and if possible please keep active for at least 24 hours.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Anchor links to different pages not working’ is closed to new replies.