How to remove page info message in the default space header

I need to remove the "Added by" and "Last edited by" message in the default space header. I am not currently familiar with CSS and would like to do this ASAP.

Does anyone know what to paste into the CSS Editor to remove that line, or at minimum keep it from exporting to .HTML? There is also an Attachments section added at the bottom of each .HTML page we would prefer wasn't there.

3 answers

1 accepted

0 votes
Accepted answer

In Confluence Admin | Look & Feel | Custom HTML

Paste into At the end of the HEAD:

<style>
  #com-atlassian-confluence .page-metadata {
    display: none;
  }
</style>

This will hide the "Added by" etc section from all spaces even if they've applied a separate custom stylesheet.

Thank you David, it did stop displaying the line in Confluence.

The line still exports to HTML, along with the "Attachments:" title and link at the bottom. I tried unchecking the Include Comments box in Custom Export but both items are still showing on the HTML page.

I imagine there is some default export template to deal with for this.

Do you have access to the decorators? If so, you can comment out the lines that render this information on the page.

0 votes
Davin Studer Community Champion Sep 03, 2013

In the "Page Layout" template you can remove or comment out this line to get rid of the "Added by" and "Last edited by" section of the page.

#parse ("/decorators/includes/page-metadata.vm").

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

58 views 3 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you