# יצירת באנר שרק קבוצה אחת יכולה לראות, בעוד שהקבוצות האחרות לא

**URL:** <https://meta.discourse.org/t/creating-a-banner-that-only-1-group-can-see-while-the-other-groups-dont/221253>\
**Category:** Product Support\
**Created:** [17 במרץ,‏ 2022,‏ 5:43pm UTC](https://meta.discourse.org/t/creating-a-banner-that-only-1-group-can-see-while-the-other-groups-dont/221253 "2022-03-17T17:43:35Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [17 במרץ,‏ 2022,‏ 10:43pm UTC](https://meta.discourse.org/t/creating-a-banner-that-only-1-group-can-see-while-the-other-groups-dont/221253/7 "2022-03-17T22:43:38Z")

</div>

This component should allow you to expose non-primary groups as body tag classes:

[https://github.com/discourse/discourse-groups-css-classes-in-body](https://github.com/discourse/discourse-groups-css-classes-in-body)

I _think_ you’d do something like:

```plaintext
body.group-trial {
   .banner-box {
       display: initial;
   }
}

```

This will only work if the users of the trial group have permission to at least **see** that the group exists.

---

_[View the full topic](https://meta.discourse.org/t/creating-a-banner-that-only-1-group-can-see-while-the-other-groups-dont/221253)._
