# 返回主题开头

**URL:** https://meta.discourse.org/t/return-to-start-of-topic/136962
**Category:** Feature
**Created:** [2019年十二月24日 10:25 UTC](https://meta.discourse.org/t/return-to-start-of-topic/136962 "2019-12-24T10:25:16Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [2019年十二月24日 10:43 UTC](https://meta.discourse.org/t/return-to-start-of-topic/136962/4 "2019-12-24T10:43:48Z")

</div>

您也可以通过在桌面端和移动端点击标题栏中的标题返回主题顶部。

 ![点击标题栏中的标题可返回主题顶部](https://global.discourse-cdn.com/meta/original/3X/9/2/9207d101cf335ad5f3275afb2420f0ec12216ae5.png)。

如果此方法对您的用户无效，而您仍想添加“返回顶部”功能，请将以下代码添加到 [您的主题](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) 的通用 CSS 选项卡中：

```scss
.timeline-date-wrapper .start-date {
  &::before {
    content: "返回顶部"; // 在此处修改文本
  }

  .d-label {
    display: none; // 隐藏主题原作者发布日期
  }
}

```

 ![带有返回顶部功能的主题时间线](https://global.discourse-cdn.com/meta/original/3X/3/e/3ebaac7b48064341546df6016f8ef68cbf1fdbfb.png)

---

_[View the full topic](https://meta.discourse.org/t/return-to-start-of-topic/136962)._
