Link a title to a text
Hey there, Tom 👋
Lovely work with your website and art! Yes, you absolutely can do that. Here’s how:
1. Switch to the Text editor view for your Bibliography page.
2. For each review (full article) you’ll want to add a unique HTML ID like this:
<strong id="add-your-id-here">add your review title here</strong>
3. Then, link your review (the numbered point) like this:
<a href="https://tomcliment.com/bibliography#add-your-id-here">add your numbered review title here</a>
Give that a try! I know if you’re new to HTML that might seem tricky, but I’m happy to help with any questions.
Thanks a million, that’s great. I’ve done the first one but I just have a couple of questions.
The titles are coming twice, the original one plus the new code. The link is working though. I’m not sure where to place the new HTML code( in text editor) in each full review and corresponding numbered list title.
What do I need to do to just have one title coming up? Also I’d like to keep the original brown/red colour of the full review titles as well.
Hope all this makes sense, thanks again for your help.
I forgot to say as well I wasn’t sure what to do with “add-your-id-here”. I left it as it was. Should I replace this with something else?
I’m not sure what my id is?
Hey! Glad to see we’re making progress, Tom 😀
So, you’ll actually want to replace your existing titles with this new code. To give you a clearer picture, ‘code’ is actually just your content plus some formatting that the browser understands.
One of the things in my original message that I didn’t make clear, is that each ID needs to be unique. So, where it says ‘add-your-id-here’ you want to name it something meaningful like Cristinleach01. Otherwise, if more than one title shares the same ID the browser doesn’t know which title to navigate to.
So please give that another go and report back! Happy to help you here!
Thanks a million, that’s worked great now. Thanks for your help with this.
I have another couple of questions but I’ll start another thread if that’s ok.
Happy to help, Tom!
- The topic ‘Link a title to a text’ is closed to new replies.