Tagged: cornerstone
-
AuthorPosts
-
June 19, 2016 at 5:47 pm #1049602
How do I insert a bookmark using cornerstone?
June 19, 2016 at 11:12 pm #1049961Hi 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.
June 20, 2016 at 3:03 am #1050150Hi 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!
June 20, 2016 at 3:13 am #1050161Hello 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.
June 20, 2016 at 3:35 am #1050180Thanks 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.
June 20, 2016 at 3:48 am #1050197Hi 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.
June 20, 2016 at 4:13 am #1050237Thanks Chris. And would the bookmark link be website.com/name-of-page#customid ?
June 20, 2016 at 5:12 am #1050286Hi There,
website.com/name-of-page#customid or website.com/name-of-page/#customid will also work.
Regards!
June 20, 2016 at 5:31 am #1050315Thanks all!
June 20, 2016 at 6:07 am #1050375You’re welcome.
-
AuthorPosts