# Remove "Activity" from group page

**URL:** https://meta.discourse.org/t/remove-activity-from-group-page/60471
**Category:** UX
**Created:** [April 5, 2017, 10:30am UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471 "2017-04-05T10:30:25Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Andreas\_T](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andreas_t/32/70301_2.png) [@Andreas\_T](https://meta.discourse.org/u/Andreas_T)
#### Post date: [April 5, 2017, 10:30am UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/1 "2017-04-05T10:30:25Z")

</div>

Hello there,

When I access a group via _menu_ =\> _groups_ and then clicking on a group, there is this _Activity_ button that shows the activity of the group’s members. Is it possible as an admit to remove this _Activity_ field?  
Forum users that go to the group page to look for information about the group may find it confusing to find information about the members’ activity that is completely unrelated to the group itself.

Thanks for your help!

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 5, 2017, 12:45pm UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/2 "2017-04-05T12:45:29Z")

</div>

> [@Andreas\_T](#):
>
> Is it possible as an admit to remove this Activity field?

Yes, use a site customization to hide it via CSS

---

<div class="post-metadata">

### Author: ![jidetheblogger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidetheblogger/32/73213_2.png) [@jidetheblogger](https://meta.discourse.org/u/jidetheblogger)
#### Post date: [June 13, 2017, 4:06pm UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/3 "2017-06-13T16:06:48Z")

</div>

Very confusing. I didn’t understand whats up not until I created a group. I wish I can create a visible group that will only display the members.

> [@Andreas\_T](#):
>
> Forum users that go to the group page to look for information about the group may find it confusing to find information about the members’ activity that is completely unrelated to the group itself.

---

<div class="post-metadata">

### Author: ![outofthebox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofthebox/32/83708_2.png) [@outofthebox](https://meta.discourse.org/u/outofthebox)
#### Post date: [September 8, 2017, 6:09pm UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/4 "2017-09-08T18:09:57Z")

</div>

Yes, this seems confusing to me as well.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 8, 2017, 10:59pm UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/5 "2017-09-08T22:59:11Z")

</div>

What’s confusing about it? You’re looking at all activity of members of the group. That is by definition related to the group.

This won’t be changing. If you wish to hide it, use CSS to do so.

---

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [September 9, 2017, 3:06am UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/6 "2017-09-09T03:06:21Z")

</div>

If you use groups for permissions for a private category which is kind of the main purpose of a group, it does get a little weird to see all the other posts of group members for other categories.

The last time I tried hiding that Activity tab I could only target the entire set of tabs. Has anyone sorted the CSS for just the Activity tab and care to share?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 10, 2017, 2:28am UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/7 "2017-09-10T02:28:21Z")

</div>

> [@scombs](#):
>
> Has anyone sorted the CSS for just the Activity tab and care to share?

There are not specific classes per button, so hiding it will be hard. I’ll take a look next week and see if I can add some classes quick.

---

<div class="post-metadata">

### Author: ![outofthebox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofthebox/32/83708_2.png) [@outofthebox](https://meta.discourse.org/u/outofthebox)
#### Post date: [September 12, 2017, 7:51pm UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/9 "2017-09-12T19:51:51Z")

</div>

Hi @codinghorror,

Obviously I’m still exploring Discourse, so the confusion is easily all on my end. I suppose I’ve been habituated to linking groups with discussion areas. So, the category is the place where a specific group’s activity takes place. But, obviously the group members might contribute across the site. And this would be helpful for seeing all of the posts from your staff, moderators, or another group of some kind. At this early stage of understanding Discourse, I think if the tab read “Site Activity” that would be more clear.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 15, 2017, 2:58pm UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/10 "2017-09-15T14:58:35Z")

</div>

OK @scombs, PR has been submitted. Once the tests pass and it get’s merged, you can hide a tabs with

```plaintext
.group .nav-pills .button-class-here {
    display: none;
}

```

Valid button classes are `members`, `activity`, `edit`, `logs`

Edit: PR has been merged.

---

<div class="post-metadata">

### Author: ![jidetheblogger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidetheblogger/32/73213_2.png) [@jidetheblogger](https://meta.discourse.org/u/jidetheblogger)
#### Post date: [September 27, 2017, 10:09am UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/11 "2017-09-27T10:09:34Z")

</div>

Good job but I hope it can work for specific groups too. 😉

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 27, 2017, 12:24pm UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/12 "2017-09-27T12:24:26Z")

</div>

> [@jidetheblogger](#):
>
> I hope it can work for specific groups too.

At this moment it cannot. We do not have any group-specific classes here. I’ll see what I can do.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 28, 2017, 3:47pm UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/14 "2017-09-28T15:47:28Z")

</div>

OK, group-specific class added.  
[https://github.com/discourse/discourse/commit/ca3d6921a0376bc765415efd223f7cf64cbe9cae](https://github.com/discourse/discourse/commit/ca3d6921a0376bc765415efd223f7cf64cbe9cae)

You can now use:

```plaintext
.group.group-name-here .nav-pills .button-class-here {
    display: none;
}

```

---

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [October 8, 2017, 2:55pm UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/15 "2017-10-08T14:55:46Z")

</div>

@jomaxro it looks like the Activity tab is hidden on desktop as expected but still shows on mobile.

I include the CSS in Common (and then on Mobile, just to be sure).

Is there a fix for mobile? Thanks very much.

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [October 8, 2017, 3:04pm UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/16 "2017-10-08T15:04:52Z")

</div>

Try to add another line of CSS preceded by `.mobile-view`, eg:

```
.mobile-view .group .group-name-here .nav-pills .button-class-here {display: none;}

```

---

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [October 8, 2017, 3:38pm UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/17 "2017-10-08T15:38:59Z")

</div>

Unfortunately, that additional line with `.mobile-view` didn’t work. I have tried this on multiple browsers.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [October 9, 2017, 12:16am UTC](https://meta.discourse.org/t/remove-activity-from-group-page/60471/18 "2017-10-09T00:16:44Z")

</div>

OK, the classes are different on mobile. Also, it looks like we’re going to need a `!important` due to the specificity of the existing target.

```plaintext
.group.group-name-here .mobile-nav .button-class-here {
    display: none !important;
}

```

Also, I had a typo above. no space between `.group` and `.group-name-here`.
