# CSS class on Body tag to distinguish homepage / non-category page

**URL:** <https://meta.discourse.org/t/css-class-on-body-tag-to-distinguish-homepage-non-category-page/51201>\
**Category:** Feature\
**Created:** [2016 年10 月 7 日 00:15 UTC](https://meta.discourse.org/t/css-class-on-body-tag-to-distinguish-homepage-non-category-page/51201 "2016-10-07T00:15:01Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

作者： ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)\
发布日期： [2022 年7 月 31 日 19:53 UTC](https://meta.discourse.org/t/css-class-on-body-tag-to-distinguish-homepage-non-category-page/51201/9 "2022-07-31T19:53:21Z")

</div>

> [@techAPJ](#):
>
> 为上述页面添加了 `navigation-topics` 类（通过 [此提交](https://github.com/discourse/discourse/commit/d06c82e5559715eb569c52cffff1d235c6d30e84)）。

抱歉复活这个老帖子，但这个类名还存在吗？我似乎找不到 `/latest`、`/top` 等页面的 CSS 选择器。谢谢！

---

_[View the full topic](https://meta.discourse.org/t/css-class-on-body-tag-to-distinguish-homepage-non-category-page/51201)._
