Removing edit history pencil icon

AI-generated summary

In a support discussion titled ‘Removing edit history pencil icon,’ BruceM seeks CSS guidance to restrict visibility of the pencil icon and revision count to admins only. NateDhaliwal provides a CSS snippet targeting .post-infos .edits to hide the element. ondrej suggests using the edit_history_visible_to_public setting to control edit visibility, noting that while users may still see the pencil icon, they can’t interact with it, and directs Bruce to documentation for CSS help, clarifying CSS customization is outside support scope. BruceM thanks ondrej. Heliosurge shares their experience moving edit history visibility to staff-only after users misused edit history, citing an incident where a user flagged a post based on its prior version. ToddZ offers an alternative for individual posts via a linked guide on admin editing without showing edit marks. Heliosurge confirms admins/mods can use this method when viewing revisions. The thread combines technical CSS solutions, permission settings, and real-world moderation insights to address hiding edit indicators from non-staff users.

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

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

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

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.

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

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”

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

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