How to hide the 'Edit in Word' button

Still need help?

The Atlassian Community is here for you.

Ask the community


There is a document embedded in the page that shows the 'Edit Document' button which you would rather not see.


Normally the edit but is visible, as shown below

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


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}
  1. Enter the space in question
  2. Click 'Browse' -> 'space admin' (or 'confluence-admin' to apply to all existing and future spaces)
  3. Click 'Stylesheet' under 'look and feel' in the left hand nav
  4. Click 'edit'
  5. Paste in '.office-editable {display:none}'
  6. Click save
Last modified on Feb 23, 2016

Was this helpful?

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