# Removing edit history pencil icon

**URL:** https://meta.discourse.org/t/removing-edit-history-pencil-icon/394249
**Category:** Support
**Created:** [January 24, 2026, 1:11pm UTC](https://meta.discourse.org/t/removing-edit-history-pencil-icon/394249 "2026-01-24T13:11:19Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![BruceM](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brucem/32/539251_2.png) [@BruceM](https://meta.discourse.org/u/BruceM)
#### Post date: [January 24, 2026, 1:11pm UTC](https://meta.discourse.org/t/removing-edit-history-pencil-icon/394249/1 "2026-01-24T13:11:19Z")

</div>

Hi,

I want only admins to be able to see the pencil icon and revision count for topics created on my site. I understand that you need to use CSS to do this.

Please can you help with the CSS and where in the navigation I will find the field that I need to paste this into?

Many thanks for your help.

Bruce

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [January 24, 2026, 1:22pm UTC](https://meta.discourse.org/t/removing-edit-history-pencil-icon/394249/2 "2026-01-24T13:22:58Z")

</div>

You can right click \> Inspect to find it, but here it is:

```scss
.post-infos .edits {
  display: none !important; // You may not need '!important' here
}

```

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [January 24, 2026, 1:23pm UTC](https://meta.discourse.org/t/removing-edit-history-pencil-icon/394249/3 "2026-01-24T13:23:20Z")

</div>

Hi Bruce, you can set it so that users cannot see the post edits with the `edit_history_visible_to_public` setting but I think they can still see the pencil but not press it.

If you’d like to hide it there are some helpful guides in #Documentation such as this one. css guidance is a bit out of scope in the support category.

> [@Making custom CSS changes on your site](https://meta.discourse.org/t/making-custom-css-changes-on-your-site/168101):
>
> bookmark This guide explains how to make CSS changes on your Discourse site, including an introduction to CSS, where to add CSS in Discourse, and how to find the right selectors using browser inspection tools. person_raising_hand Required user level: Administrator Summary This guide covers: A brief introduction to CSS and key concepts How to add CSS to your Discourse site using theme components Using browser inspection tools to find the right CSS selectors Understanding CSS basics CSS…

---

<div class="post-metadata">

### Author: ![BruceM](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brucem/32/539251_2.png) [@BruceM](https://meta.discourse.org/u/BruceM)
#### Post date: [January 24, 2026, 1:25pm UTC](https://meta.discourse.org/t/removing-edit-history-pencil-icon/394249/4 "2026-01-24T13:25:41Z")

</div>

That’s great, ondrej. Thanks very much for your help.

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [January 25, 2026, 2:47am UTC](https://meta.discourse.org/t/removing-edit-history-pencil-icon/394249/5 "2026-01-25T02:47:21Z")

</div>

I moved the permission to view Post edit history to staff after a couple of incidents.

One user even posted “Well I see you edited your post, but I am flagging it as I saw what you posted prior to the edit”

---

<div class="post-metadata">

### Author: ![ToddZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/toddz/32/328350_2.png) [@ToddZ](https://meta.discourse.org/u/ToddZ)
#### Post date: [January 25, 2026, 5:35am UTC](https://meta.discourse.org/t/removing-edit-history-pencil-icon/394249/6 "2026-01-25T05:35:35Z")

</div>

There’s also this approach for the occasional single post:

> [@Admin Editing user posts without showing the edit mark](https://meta.discourse.org/t/admin-editing-user-posts-without-showing-the-edit-mark/318663/4):
>
> After editing the post, when viewing a given revision in the edit history, you can “Hide revision” to hide it from the history. This also hides the pencil if it’s the only revision the post had.

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [January 25, 2026, 7:53am UTC](https://meta.discourse.org/t/removing-edit-history-pencil-icon/394249/7 "2026-01-25T07:53:31Z")

</div>

Yeah. You can do that when viewing revision as a mod/admin.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [February 24, 2026, 7:53am UTC](https://meta.discourse.org/t/removing-edit-history-pencil-icon/394249/8 "2026-02-24T07:53:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
