Forums

Anchors Between Pages (2 posts)

  1. haizdesign
    Member
    Posted 1 year ago #

    I'm having problems with getting anchors working between pages. They work on my localhost but not on live sites.

    Here's what I'm using:
    <p><a href="http://www.londonmctimoneyclinic.co.uk/practitioners#nutrition/">See our practitioner's details here</a></p>

    And here is the anchor on the practitioners page:
    <a name="nutrition"></a>

    I've tried the link with and without trailing slashes and tried setting the anchor to an id on text or divs. The page jump works on the same page but if I want to go to a new page and a targeted anchor, it only goes to the page.

    The anchor shows in the status bar when I mouseover the link on the page. When I click it, the anchor shows briefly as the page loads then gets stripped out.

  2. haizdesign
    Member
    Posted 1 year ago #

    Just spotted in Chrome the address when I land on my target page is:
    http://www.londonmctimoneyclinic.co.uk/practitioners/#nutrition/

    I shave also tried these links with
    <a href="?page_id=11#nutrition>Text</a> etc but it's still not working for me.

Topic Closed

This topic has been closed to new replies.

About this Topic