# Linking main navigation to a particular part of a page

**URL:** <https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477>\
**Category:** RapidWeaver Classic\
**Created:** [February 17, 2016, 12:46pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477 "2016-02-17T12:46:30Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lang](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/lang/32/9544_2.png) [@Lang](https://forums.realmacsoftware.com/u/Lang)\
**Post date:** [February 17, 2016, 12:46pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/1 "2016-02-17T12:46:30Z")

</div>

I have looked at a few discussions about anchor links but still can’t get this to work -

I want a main navigation link to take the viewer to a particular part of a page.

I have placed an anchor link at the target point on that page. The anchor link is this: \< a name =“test” \>\< / a \> (I have placed spaces in this anchor link otherwise it doesn’t sho up on this page)

I have tried using the ‘offsite page’ to do this using the url of the target page appended with .html#test but to no avail.

the url I am using for the offsite page is [http://www.actorclivefrancis.com/theatre.html#test](http://www.actorclivefrancis.com/theatre.html#test)  
(the word ‘theatre’ is the page name).

Wondering what I’m doing wrong here.

---

<div class="post-metadata">

**Author:** ![Mathew](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mathew/32/2771_2.png) [@Mathew](https://forums.realmacsoftware.com/u/Mathew)\
**Post date:** [February 17, 2016, 1:06pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/2 "2016-02-17T13:06:45Z")

</div>

Let’s forget navigation menus for the moment and just try to get the link correct. Your link above does not work. If I use:  
[http://www.actorclivefrancis.com/theatre#test](http://www.actorclivefrancis.com/theatre#test)

That will take me to a page, but only to the top. What am I supposed to be seeing when I get to that page? (Presumably something further down the page.)

---

<div class="post-metadata">

**Author:** ![Lang](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/lang/32/9544_2.png) [@Lang](https://forums.realmacsoftware.com/u/Lang)\
**Post date:** [February 17, 2016, 1:16pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/3 "2016-02-17T13:16:55Z")

</div>

Yes, something a long way down, another heading in fact - THEATRE 1985-2012

Thanks for your attention Matthew

---

<div class="post-metadata">

**Author:** ![Mathew](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mathew/32/2771_2.png) [@Mathew](https://forums.realmacsoftware.com/u/Mathew)\
**Post date:** [February 17, 2016, 1:29pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/4 "2016-02-17T13:29:42Z")

</div>

Hmm . . . I don’t see any anchor placed on that page near Theatre 1985-2012. Are you sure you created one? A general HTML form for an anchor is:

`<h2 id="contactinfo">Contact Information</h2>`

Notice that “id” portion of the HTML.

You can create an anchor using Markdown, or HTML, or using Joe Workman’s helpful Link & Anchor. If you are new to web design then I highly suggest using Joe’s stack for this:

> **[Link & Anchor Stacks for RapidWeaver](https://www.weavers.space/rapidweaver/stacks/link-anchor)**
>
> The Link stack is a very simple stack that basically turns any stack into a hover link to whatever you like: a webpage, lightbox, or use in combination with the Anchor stack. The Anchor stack can be used to place bookmarks throughout your web page...

---

<div class="post-metadata">

**Author:** ![Lang](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/lang/32/9544_2.png) [@Lang](https://forums.realmacsoftware.com/u/Lang)\
**Post date:** [February 17, 2016, 1:44pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/5 "2016-02-17T13:44:15Z")

</div>

The anchor link is just above THEATRE 1985-2012

I just deleted it and re-entered and published it just to make sure.

---

<div class="post-metadata">

**Author:** ![Lang](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/lang/32/9544_2.png) [@Lang](https://forums.realmacsoftware.com/u/Lang)\
**Post date:** [February 17, 2016, 1:45pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/6 "2016-02-17T13:45:52Z")

</div>

I have now just placed it on the same line as the heading. Hope you can find it there.

---

<div class="post-metadata">

**Author:** ![Oscar](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/oscar/32/80_2.png) [@Oscar](https://forums.realmacsoftware.com/u/Oscar)\
**Post date:** [February 17, 2016, 1:50pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/7 "2016-02-17T13:50:31Z")

</div>

> [@Lang](#):
>
> The anchor link is this: `< a name =“test” >< / a >`

The anchor must be written like this. No blank spaces. That works!  
`<a name =“test”></a>`

---

<div class="post-metadata">

**Author:** ![Oscar](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/oscar/32/80_2.png) [@Oscar](https://forums.realmacsoftware.com/u/Oscar)\
**Post date:** [February 17, 2016, 1:57pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/8 "2016-02-17T13:57:25Z")

</div>

When you set the anchor at the bottom of the page, there must be a space under the anchor.  
The link to the anchor always leads to the top of the window.

When there is no content or space further down the anchor/page, the browser can not pull up the window.

---

<div class="post-metadata">

**Author:** ![Lang](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/lang/32/9544_2.png) [@Lang](https://forums.realmacsoftware.com/u/Lang)\
**Post date:** [February 17, 2016, 2:10pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/9 "2016-02-17T14:10:01Z")

</div>

I have placed that anchor link \< a name =“test” \>\< / a \> (minus all the spaces) at the target destination.  
I have also placed some content below that anchor as you suggest Oscar

Below is the link in my 'offsite page" url window:  
[http://actorclivefrancis.com/theatre.html#test](http://actorclivefrancis.com/theatre.html#test)

If I click my navigation link (which is the offsite page) THEATRE 1985-2012 it still gives me a 404-not found. I must be overlooking something here.

Perhaps I should resort to simply creating a new page instead of trying to link navigation to part of a page.

Thanks all for trying to help.

---

<div class="post-metadata">

**Author:** ![Oscar](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/oscar/32/80_2.png) [@Oscar](https://forums.realmacsoftware.com/u/Oscar)\
**Post date:** [February 17, 2016, 2:30pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/10 "2016-02-17T14:30:13Z")

</div>

The offsite page link should be with [http://www](http://www)…  
In your link there is no www… and in one link (theatre 1965-80) there is a folder theatre/(index.html not visible)  
In the link to Theatre 1985-2012 there is no folder theatre and you link to a page called theatre.html#test.

The link in the offsite page must correspond exactly.

Perhaps [http://www.actorclivefrancis.com/theatre/#test](http://www.actorclivefrancis.com/theatre/#test)  
or  
[http://www.actorclivefrancis.com/theatre/index.html#test](http://www.actorclivefrancis.com/theatre/index.html#test)

 ![](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/5/5fe695e299a17b1b0a2366708c1bc08986ed3b8f.png) ![](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/2/234bfda6decd4550c8c19e34743a78a9d21022ef.png)

---

<div class="post-metadata">

**Author:** ![Mathew](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mathew/32/2771_2.png) [@Mathew](https://forums.realmacsoftware.com/u/Mathew)\
**Post date:** [February 17, 2016, 3:05pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/11 "2016-02-17T15:05:26Z")

</div>

@Lang You are not using the correct link. As I mentioned earlier you can simply use:  
[http://www.actorclivefrancis.com/theatre](http://www.actorclivefrancis.com/theatre)

If you are using an anchor called “test” then use this:  
[http://www.actorclivefrancis.com/theatre#test](http://www.actorclivefrancis.com/theatre#test)

The problem as I see it is you seemed to have removed the 1985-2012 header. Don’t know why this happened. At any rate it’s hard to check when the relevant header is no longer visible.

You seem to be using a stack by DooBox to create your headers. This should not be the source of the problem, but it’s possible there is some conflict. However, hard to know that for sure until other possibilities have been eliminated.

My guess is, all things considered, that created a new page is the better way for you to go. You already have a lot of “stuff” on the theatre page: so dividing it up across 2-3 pages is probably a very good idea.

---

<div class="post-metadata">

**Author:** ![Lang](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/lang/32/9544_2.png) [@Lang](https://forums.realmacsoftware.com/u/Lang)\
**Post date:** [February 17, 2016, 3:13pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/12 "2016-02-17T15:13:36Z")

</div>

Thank you Oscar, I will try out these various permutations.

---

<div class="post-metadata">

**Author:** ![Lang](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/lang/32/9544_2.png) [@Lang](https://forums.realmacsoftware.com/u/Lang)\
**Post date:** [February 17, 2016, 3:14pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/13 "2016-02-17T15:14:52Z")

</div>

Thanks for your input Mathew. Much appreciated.

---

<div class="post-metadata">

**Author:** ![Lang](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/lang/32/9544_2.png) [@Lang](https://forums.realmacsoftware.com/u/Lang)\
**Post date:** [February 17, 2016, 3:21pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/14 "2016-02-17T15:21:24Z")

</div>

I’ll close this topic now. Thanks again for your assistance Matthew and Oscar.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [August 12, 2026, 8:21pm UTC](https://forums.realmacsoftware.com/t/linking-main-navigation-to-a-particular-part-of-a-page/5477/15 "2026-08-12T20:21:37Z")

</div>


