# 更改偏好设置的标题

**URL:** https://meta.discourse.org/t/change-the-headings-of-preferences-settings/296166
**Category:** Development
**Created:** [2024 年2 月 21 日 10:07 UTC](https://meta.discourse.org/t/change-the-headings-of-preferences-settings/296166 "2024-02-21T10:07:30Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### 作者： ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### 发布日期： [2024 年2 月 21 日 13:00 UTC](https://meta.discourse.org/t/change-the-headings-of-preferences-settings/296166/6 "2024-02-21T13:00:53Z")

</div>

如果你确实必须这样做，你可以为非员工隐藏它们（普通用户，所以版主和管理员可以看到它们），并且你可以选择隐藏哪些。除非有特殊用例规定，否则我不推荐这样做。

> [@Hide some preference sub-tabs under the user profile?](https://meta.discourse.org/t/hide-some-preference-sub-tabs-under-the-user-profile/282454/2?u=lilly):
>
> Hi Jeff slight_smile You could first install [CSS Classes for Current User's Groups](https://meta.discourse.org/t/css-classes-for-current-users-groups/226068), then use the added classes to hide these elements with CSS: body:not(.staff) { .user-nav\_\_preferences-security, .user-nav\_\_preferences-emails, .user-nav\_\_preferences-tracking, .user-nav\_\_preferences-users { display: none !important; } } Note that with this component, admins don’t have a specific class. It would require additional javascript. Staff means admins and mo…

---

_[View the full topic](https://meta.discourse.org/t/change-the-headings-of-preferences-settings/296166)._
