# CSS to hide the Activity or Messages tabs on the group detail page

**URL:** <https://meta.discourse.org/t/css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/101447>\
**Category:** Product Support\
**Created:** [11월 6, 2018, 6: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:** 5

<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:** [11월 7, 2018, 7:30오후 UTC](https://meta.discourse.org/t/css-to-hide-the-activity-or-messages-tabs-on-the-group-detail-page/101447/5 "2018-11-07T19:30:58Z")

</div>

Thanks for the display: none; tweak, @dax. That helped on desktop view, which now looks like this.

 ![Working%20on%20Desktop%20View](https://global.discourse-cdn.com/meta/original/3X/e/4/e4faf96e663387e1dae7e6fb193630f8610762d0.jpeg)

However, mobile view still shows the Activity and Messages options in the drop-down list, and frustratingly, the empty white space that was there before (which must be default theme or environmental related).

Do you know why the CSS would work on desktop view and not mobile view? And do you know if there’s a way to use a wildcard in the CSS to apply the display: none; code to all groups instead of going one-by-one?

---

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