https://github.com/discourse/discourse-groups-css-classes-in-body
https://github.com/discourse/discourse-groups-css-classes-in-body
discourse-theme-component
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/discourse/discourse-groups-css-classes-in-body
- Owner: discourse
- License: mit
- Created: 2019-06-24T20:53:44.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-02-05T18:36:08.000Z (3 months ago)
- Last Synced: 2025-02-05T19:50:35.927Z (3 months ago)
- Topics: discourse-theme-component
- Language: HTML
- Homepage:
- Size: 304 KB
- Stars: 1
- Watchers: 21
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discourse-groups-css-classes-in-body
## Usage
After installing this component to the active theme you can target CSS using group membership like, for example:
```
body.group-patrons div.donation-banner {
display: none;
}
```## Feedback
If you have issues or suggestions for this theme component, please bring them up on
[Discourse Meta](https://meta.discourse.org/t/css-classes-for-current-users-groups/226068).