# Anchor links in topics are hidden behind header bar when linked to externally

**URL:** https://meta.discourse.org/t/anchor-links-in-topics-are-hidden-behind-header-bar-when-linked-to-externally/37635
**Category:** Bug
**Created:** [Janeiro 8, 2016, 2:41pm UTC](https://meta.discourse.org/t/anchor-links-in-topics-are-hidden-behind-header-bar-when-linked-to-externally/37635 "2016-01-08T14:41:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [Janeiro 8, 2016, 2:41pm UTC](https://meta.discourse.org/t/anchor-links-in-topics-are-hidden-behind-header-bar-when-linked-to-externally/37635/1 "2016-01-08T14:41:49Z")

</div>

On my site, I have a [lengthy FAQ topic](https://community.namati.org/t/faq-frequently-asked-questions-about-the-network-platform/1467) with a table of contents at the top and section headings linked to using `<a name="heading"></a>` style anchors. Once on the topic, it works quite well to click around and find answers.

However, when I link to a section directly, it doesn’t work properly. The linked to section is hidden behind the header menu.

To replicate:

- go to [https://community.namati.org/t/faq-frequently-asked-questions-about-the-network-platform/1467](https://community.namati.org/t/faq-frequently-asked-questions-about-the-network-platform/1467) and click on “guided tour” link on the menu. You will be taken directly to the guided tour section. Section heading and first few lines are visible.
- go directly to [https://community.namati.org/t/faq-frequently-asked-questions-about-the-network-platform/1467#tour](https://community.namati.org/t/faq-frequently-asked-questions-about-the-network-platform/1467#tour) link. You will will be taken directly there but the section heading and first few lines are hidden behind the heading.

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [Janeiro 8, 2016, 3:02pm UTC](https://meta.discourse.org/t/anchor-links-in-topics-are-hidden-behind-header-bar-when-linked-to-externally/37635/2 "2016-01-08T15:02:13Z")

</div>

It is the same thing I reported at the end of this post [https://meta.discourse.org/t/html-anchors-should-be-added/16455/33?u=trash](https://meta.discourse.org/t/html-anchors-should-be-added/16455/33)

For example:

`<a name="tips"></name>`  
`<p>`  
`</p>`  
`---`  
``  
`##[AduTips](#tips)`

It works, as long as you are using with the header (obviously you can not use in a list):

 ![](https://global.discourse-cdn.com/meta/original/3X/b/c/bcb2abf270d47e1200353e81b58f253956264ea9.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Janeiro 8, 2016, 8:38pm UTC](https://meta.discourse.org/t/anchor-links-in-topics-are-hidden-behind-header-bar-when-linked-to-externally/37635/3 "2016-01-08T20:38:07Z")

</div>


