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

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 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

247 views 11 9
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