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

**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:** 2

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [17 במרץ,‏ 2022,‏ 6:18pm UTC](https://meta.discourse.org/t/creating-a-banner-that-only-1-group-can-see-while-the-other-groups-dont/221253/2 "2022-03-17T18:18:00Z")

</div>

My CSS is improving, though still rudimentary 🙂, but I think you could do something like this as long as the Trial group was set to be their primary group:

```plaintext
.banner-box {
	display: none;
}

.primary-group-trial {
   .banner-box {
       display: initial;
   }
}

```

So the first bit hides it from everyone, and the second then shows it to members with the ‘trial’ group as their primary.

---

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