# Hide edit pencil for non-staff users

**URL:** <https://meta.discourse.org/t/hide-edit-pencil-for-non-staff-users/281184>\
**Category:** Development\
**Created:** [October 5, 2023, 6:15pm UTC](https://meta.discourse.org/t/hide-edit-pencil-for-non-staff-users/281184 "2023-10-05T18:15:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Post date:** [October 5, 2023, 6:15pm UTC](https://meta.discourse.org/t/hide-edit-pencil-for-non-staff-users/281184/1 "2023-10-05T18:15:06Z")

</div>

Continuing the discussion from [Hide edits icon for members?](https://meta.discourse.org/t/hide-edits-icon-for-members/122236/4):

I’ve unset `edit history visible to public` but the orange pencil icon still appears on the post. I’d like to hide the pencil **only** for people who cannot see the edit history. In other words, I’d like the people who are allowed to see the edit history (but nobody else) to see the pencil.

This CSS solution hides the pencil for everybody but of course that means **nobody** can see the edit history…

> [@Hide edits icon for members?](https://meta.discourse.org/t/hide-edits-icon-for-members/122236/4):
>
> You can use some css customization to hide it
> 
> ```plaintext
> .topic-body .post-info.edits {
> display: none;
> }
> 
> ```

---

_[View the full topic](https://meta.discourse.org/t/hide-edit-pencil-for-non-staff-users/281184)._
