How to hide the 'Edit in Word' button
Platform Notice: Data Center Only - This article only applies to Atlassian apps 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
Symptoms
There is a document embedded in the page that shows the 'Edit Document' button which you would rather not see.
Cause
Normally the edit but is visible, as shown below

But you would rather not have it be visible, as shown below

Resolution
Add the following to the stylesheet of the space (or in confluence-admin for all spaces) where you would like have the edit button hidden from pages.
.office-editable {display:none}
Enter the space in question
Click 'Browse' -> 'space admin' (or 'confluence-admin' to apply to all existing and future spaces)
Click 'Stylesheet' under 'look and feel' in the left hand nav
Click 'edit'
Paste in '.office-editable {display:none}'
Click save
Was this helpful?