# CSS to hide a few elements

**URL:** <https://meta.discourse.org/t/css-to-hide-a-few-elements/223920>\
**Category:** Product Support\
**Created:** [April 11, 2022, 3:22pm UTC](https://meta.discourse.org/t/css-to-hide-a-few-elements/223920 "2022-04-11T15:22:20Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [April 12, 2022, 12:21am UTC](https://meta.discourse.org/t/css-to-hide-a-few-elements/223920/9 "2022-04-12T00:21:09Z")

</div>

`.pull-right` is a utility class that’s used in a lot of places, so this would likely have negative impacts! Generally with CSS, if you’re trying to target one element… you want to consider how specific the selector sounds. If it sounds like something generic that could be used elsewhere (like `.btn` for another example) then it’s probably too broad. Something like `.admin-user .pull-right` might be specific enough.

* * *

Anyway, I’ve submitted a pull request to add some classes to those admin buttons. This should be available in Discourse updates at some point over the next couple of days.

[https://github.com/discourse/discourse/pull/16442](https://github.com/discourse/discourse/pull/16442)

Once that’s merged you’ll be able to do any mix of

```css
.btn-user-delete,
.btn-user-merge,
.btn-anonymize,
.btn-impersonate {
  display: none;
}

```

---

_[View the full topic](https://meta.discourse.org/t/css-to-hide-a-few-elements/223920)._
