How to hide the 'Delete' button in the Page History section
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
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.
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:
1
2
3
.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
Was this helpful?