# 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:** 1

<div class="post-metadata">

**Author:** ![Cozdabuch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cozdabuch/32/139120_2.png) [@Cozdabuch](https://meta.discourse.org/u/Cozdabuch)\
**Post date:** [April 11, 2022, 3:22pm UTC](https://meta.discourse.org/t/css-to-hide-a-few-elements/223920/1 "2022-04-11T15:22:20Z")

</div>

Is there a way to target the Impersonate and anonymize user buttons on the admin/user page?

I want to hide those specific buttons. Rather I can only seem to identify  
`.btn-danger, .admin-wizards-custom-fields .btn.destroy`  
Which hides the delete, merge, silence and suspend buttons as well.

Also, I can’t seem to hide the messages tab on the user card with the ability to restore/display the element for “self”

Any ideas?

---

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