# 在头部显示特定组成员的自定义HTML

**URL:** <https://meta.discourse.org/t/show-custom-html-in-header-to-member-of-a-specific-group/142974>\
**Category:** Development\
**Created:** [2020 年2 月 29 日 17:39 UTC](https://meta.discourse.org/t/show-custom-html-in-header-to-member-of-a-specific-group/142974 "2020-02-29T17:39:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2020 年3 月 3 日 01:19 UTC](https://meta.discourse.org/t/show-custom-html-in-header-to-member-of-a-specific-group/142974/4 "2020-03-03T01:19:45Z")

</div>

如果您安装此组件，当前用户的所有群组将被添加为页面主体的类名，从而仅通过 CSS 即可轻松进行后续修改。

> **[GitHub - discourse/discourse-groups-css-classes-in-body](https://github.com/discourse/discourse-groups-css-classes-in-body)**
>
> Contribute to discourse/discourse-groups-css-classes-in-body development by creating an account on GitHub.

---

_[View the full topic](https://meta.discourse.org/t/show-custom-html-in-header-to-member-of-a-specific-group/142974)._
