Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1420902

    TrevH
    Participant

    Hello,

    How do I create a link word to Jump to a section on a page that I have created in Cornerstone?

    Thank you.

    #1421171

    Paul R
    Moderator

    Hi,

    You can add an id to your section then use that to link to it.

    eg. Add my-section-1 in the id field of one of your section.

    You can then link to it using this code.

    
    <a href="#my-section-1">My section 1</a>
    

    http://www.rapidtables.com/web/html/link/html-anchor-link.htm

    Hope that helps.

    #1422053

    TrevH
    Participant

    Paul,

    I am not sure but it didn’t work. it did not pick up the page and section I wanted it to jump to.

    #1422082

    Joao
    Moderator

    Hi There,

    the code above will work if it is for a section of the same page.

    If you are aiming to a different page then you need to use:

    <a href="http://example.com/contacct/#my-section-1">My section 1</a>

    Hope it helps

    Joao

    #1422215

    TrevH
    Participant
    This reply has been marked as private.
    #1422674

    Friech
    Moderator

    Hi There,

    We cant view the page, its under construction mode. Can you confirm you assign an ID of apologist-members-5 on the fifth section?

    Thanks.

    #1423121

    TrevH
    Participant
    This reply has been marked as private.
    #1423798

    Friech
    Moderator

    Hi There,

    Thank you, but the site running slow at the moment and seems to have an server side issue. I was able to inspect it though and saw that you assign the ID as #ASSIN5-id on the 5th section, that is wrong the # is not necessary when assigning an ID.

    The # will be used on the link URL instead.

    <a href="http://www.cdiwebsite.org/about/#ASSIN5-id">This is a jump link to about page section 5</a>

    Hope it helps,

    #1424260

    TrevH
    Participant

    Friech,

    Silly Me it worked after removing the # from the id.
    Thanks.

    #1424266

    Rahul
    Moderator

    Glad you’ve finally figured it out.

    Let us know if we can help with anything else.

    Thank you. 🙂