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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked May 24, 2018 in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

604 views 18 16
View question

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