Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1049602

    legalfab
    Participant

    How do I insert a bookmark using cornerstone?

    #1049961

    Rupok
    Member

    Hi there,

    Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

    #1050150

    legalfab
    Participant

    Hi Rupok. Thanks for your reply. I would like to add a bookmark to certain sections of the website so that I will be able to redirect the user to the specific section of the website (i.e. middle of the page) upon the user clicking the relevant link. HOpe that clarifies. Thanks!

    #1050161

    Rue Nel
    Moderator

    Hello There,

    You can add a link or within your section with the href #x-section-{ID number} or #custom-id-of-the-section so that when the user clicks on it, it will redirect them to the specific section of the website.

    You might also want to check out one page navigation from our knowledge base here: https://community.theme.co/kb/how-to-setup-one-page-navigation/

    Hope this helps.

    #1050180

    legalfab
    Participant

    Thanks Rue Nel. Which element should I use to insert a link when using cornerstone? also, I am unable to find the section with the ‘with the href #x-section-{ID number} or #custom-id-of-the-section’. Please assist. Thanks.

    #1050197

    Christopher
    Moderator

    Hi there,

    The easiest and best IDs to link to on your page are the ones automatically generated by our sections in cornerstone . For every [x_section] you add on your page, each one will output an ID that increments based on its page position. For example, let’s say that you added three sections to your page, the markup output would be like this :

    <div id="x-section-1"> ... </div>
    <div id="x-section-2"> ... </div>
    <div id="x-section-3"> ... </div>

    If you want to use custom ID, add your custom ID in section’s ID field, see the attachment.

    More information on https://community.theme.co/kb/how-to-setup-one-page-navigation/

    Hope it helps.

    #1050237

    legalfab
    Participant

    Thanks Chris. And would the bookmark link be website.com/name-of-page#customid ?

    #1050286

    Thai
    Moderator

    Hi There,

    website.com/name-of-page#customid or website.com/name-of-page/#customid will also work.

    Regards!

    #1050315

    legalfab
    Participant

    Thanks all!

    #1050375

    Christopher
    Moderator

    You’re welcome.