# Hide admin user from user-directory and top contributors

**URL:** https://meta.discourse.org/t/hide-admin-user-from-user-directory-and-top-contributors/404885
**Category:** Support
**Tags:** user-directory
**Created:** [June 9, 2026, 8:11pm UTC](https://meta.discourse.org/t/hide-admin-user-from-user-directory-and-top-contributors/404885 "2026-06-09T20:11:37Z")
**Posts on this page:** 1
**Showing post:** 33

<div class="post-metadata">

### Author: ![haydenjames](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haydenjames/32/255678_2.png) [@haydenjames](https://meta.discourse.org/u/haydenjames)
#### Post date: [June 9, 2026, 10:38pm UTC](https://meta.discourse.org/t/hide-admin-user-from-user-directory-and-top-contributors/404885/33 "2026-06-09T22:38:02Z")

</div>

> [@haydenjames](#):
>
> Was able to at least remove admin user from off the homepage’s [Right Sidebar Blocks](https://meta.discourse.org/t/right-sidebar-blocks/231067) plugin with just CSS.
> 
> ```plaintext
> .top-contributors--user:has([data-user-card="admin_username"]) {
> display: none;
> }
> 
> ```

Ok so was able to achieve the result that I needed for both the front page side bar, but now also on **/u** with CSS again:

```plaintext
html.anon .top-contributors--user:has([data-user-card="admin_username"]),
html.anon .directory-table__row:has([data-username="admin_username"]) {
    display: none;
}

```

Hopefully this is useful for anyone else who just wants to exclude admins from showing at the top of the “likes received” ranking. Especially in less busy forums like mine.

As per title: “Hide admin user from user-directory and top contributors“… marking as solution.

---

_[View the full topic](https://meta.discourse.org/t/hide-admin-user-from-user-directory-and-top-contributors/404885)._
