# 已发布的帖子锚点链接错误定位

**URL:** <https://meta.discourse.org/t/published-topic-anchor-links-mistarget/395906>\
**Category:** UX\
**Tags:** page-publishing\
**Created:** [2026年二月12日 12:24 UTC](https://meta.discourse.org/t/published-topic-anchor-links-mistarget/395906 "2026-02-12T12:24:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [2026年二月12日 12:24 UTC](https://meta.discourse.org/t/published-topic-anchor-links-mistarget/395906/1 "2026-02-12T12:24:26Z")

</div>

在已发布的主题中，锚点链接似乎显示在标题下方，因此当您点击已发布主题中的锚点链接时，您看不到实际的标题。

例如，未发布的主题显示 `h3` [This is a test published topic - General - Discuss](https://discuss.discourse.group/t/this-is-a-test-published-topic/9#p-10-h-1914-translation-by-h-rackham-2)

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/c/1/0c19a1b4d6e8c010afc4797005e724924a6f1535.png)

但在已发布主题中的相同 # [This is a test published topic - Discuss](https://discuss.discourse.group/pub/this-is-a-test-published-topic#p-10-h-1914-translation-by-h-rackham-2) 不会显示 `h3`

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/f/d/1fd56807ae8d615808bf5fef698ffd27cdf9f6b3.png)

它显然在标题下方

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/a/0/1a0e8810b23f9ea23d66f9a87a54fca579c6ab25.png)

我尝试向 `.published-page-content-body` 添加额外的边距，但这会导致其他问题。

---

_[View the full topic](https://meta.discourse.org/t/published-topic-anchor-links-mistarget/395906)._
