# 使用 CSS 隐藏群组详情页的活动或消息标签页

**URL:** <https://meta.discourse.org/t/css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/101447>\
**Category:** Product Support\
**Created:** [2018 年11 月 6 日 18:53 UTC](https://meta.discourse.org/t/css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/101447 "2018-11-06T18:53:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
发布日期： [2018 年11 月 6 日 19:54 UTC](https://meta.discourse.org/t/css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/101447/2 "2018-11-06T19:54:58Z")

</div>

It’s a bit clunky, but something like:

```
div.container.group.YourGroupNameSlug > div.list-controls > div.container > ul > li {
     a.messages.ember-view, a.activity.ember-view {
        visibility: hidden; 
     }
}

```

Should work, the group slug is specified in line one.

---

_[View the full topic](https://meta.discourse.org/t/css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/101447)._
