# סיבוב 2: CSS להסתרת לשוניות הפעילות או ההודעות בדף פרטי הקבוצה

**URL:** https://meta.discourse.org/t/round-2-css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/190984
**Category:** Support
**Created:** [19 במאי,‏ 2021,‏ 8:54pm UTC](https://meta.discourse.org/t/round-2-css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/190984 "2021-05-19T20:54:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![JoelZaslofsky](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joelzaslofsky/32/158556_2.png) [@JoelZaslofsky](https://meta.discourse.org/u/JoelZaslofsky)
#### Post date: [19 במאי,‏ 2021,‏ 8:54pm UTC](https://meta.discourse.org/t/round-2-css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/190984/1 "2021-05-19T20:54:46Z")

</div>

Continuing the discussion from [CSS to hide the Activity or Messages tabs on the group detail page](https://meta.discourse.org/t/css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/101447):

* * *

tl;dr – the .ember CSS fix I previously used for hiding the Activity and Messages tabs on a group detail page (e.g., … /groups/YourGroupName/) no longer works since Discourse now discourages ember module targeting for CSS. What CSS snippet can I use now to achieve the same effect?

* * *

## Context

The Activity tab in each group shows the _general_ forum activity for all members in the group – which is really confusing to people and just generally counter-intuitive to many of our community members.

Since we have direct messaging to groups turned off for all our groups, the presence of the Messages tab also is a distraction for us.

 ![Group%20Messages](https://global.discourse-cdn.com/meta/original/3X/3/7/377589abd57a97985fadfb869d4b84c1a649befd.png)

**What’s the current CSS code to hide the Activity and Messages tabs in the screen shot above?**

Thanks in advance for the help, wonderful Discourse folks!

P.S. The [old ember based CSS code is here](https://meta.discourse.org/t/css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/101447/7) if you want to see what we previously used.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [19 במאי,‏ 2021,‏ 9:00pm UTC](https://meta.discourse.org/t/round-2-css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/190984/2 "2021-05-19T21:00:05Z")

</div>

This should do the trick

```css
.group-nav {
  .activity, 
  .messages {
    display: none !important;
  }
}

```

---

<div class="post-metadata">

### Author: ![JoelZaslofsky](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joelzaslofsky/32/158556_2.png) [@JoelZaslofsky](https://meta.discourse.org/u/JoelZaslofsky)
#### Post date: [19 במאי,‏ 2021,‏ 9:13pm UTC](https://meta.discourse.org/t/round-2-css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/190984/3 "2021-05-19T21:13:50Z")

</div>

Yes! That worked. Thanks a bunch Kris.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [18 ביוני,‏ 2021,‏ 9:14pm UTC](https://meta.discourse.org/t/round-2-css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/190984/4 "2021-06-18T21:14:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
