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

Accepted Answer
0 votes

In Confluence Admin | Look & Feel | Custom HTML

Paste into At the end of the HEAD:

  #com-atlassian-confluence .page-metadata {
    display: none;

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
Published Tuesday in Confluence

Introducing Praecipio Consulting, an Atlassian Solution Partner

Hey there Community!  My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they c...

310 views 0 9
Read article

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