• I can’t seem to figure out how to make an html a href link (from another page) to an anchor that’s located in the homepage.

    I’ve set up the anchor text in the homepage and it jumps properly if I do it from within the home page.

    From another page, I’ve tried:

    <a href="https://mysite.com/#specific-place">Click me</a>

    and

    <a href="https://mysite.com#specific-place">Click me</a>

    but when I click either of the links, nothing happens.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Please post a link to your actual site – without looking at the actual code, really no way to help.

    That’s strange.
    Your first example seems to be the correct way to do it.
    I just tested it on my site with a div.

    Make sure that the div id is set exactly to the name of the place you are trying to go.

    So if the id was specific-place the code would look like:

    <div id="specific-place">
    <!--Content Here-->
    </div>

    and the link would look like:

    <a href="https://www.mysite.com/#specific-place">

    (as you had it above)

    Thread Starter arzoo

    (@arzoo)

    Thanks, Endlyss.

    It was the theme. You’re correct, the code works. When I changed to another theme all went well.

    interesting.
    In that case you may need to head to the theme’s support forum/documentation. www.ads-software.com doesn’t support premium or third-party themes ??

    Glad to have helped, hopefully you get that sorted out with the theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to point to anchor link in homepage’ is closed to new replies.