How to hide the 'Delete' button in the Page History section

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

The information in this page relates to customizations or development changes in Confluence. Consequently, Atlassian Support cannot guarantee to provide any support for the steps described on this page. Please be aware that this material is provided for your information only and that you use it at your own risk.

Purpose

This article will hide the "Delete" button in the Page History section:

Solution

Hide the element using CSS.

  • In the space where you want to hide that option go to Space Tools > Look and Feel.
  • Select the Stylesheet tab.
  • Add the following CSS code to your Space Stylesheet:
.remove-historical-version-trigger { 
display: none; 
}

This should hide the delete link in the history page for that space.

If changes should be applied to all spaces, add the CSS code above in Confluence Admin >> Stylesheet (Global Stylesheet)

Related Content

Last modified on Jun 1, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.