How to remove "Created by ," after using this code?

Frances Albrecht
Contributor
January 23, 2017

This question is in reference to Atlassian Documentation: How to hide content author name (created by) in a page

The following code added to the Stylesheet removes the author's name, but leaves the text snippet "Created by ," which looks odd.

Q. How do you remove that snippet as well?

 

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

3 answers

0 votes
Dirk Lindner October 18, 2023

Is there already a solution on how to remove the text? I'm currently facing the same issue. Last modification should still be displayed.

18-10-2023_14-13-02.png

0 votes
Martyn _admin_ October 13, 2023

Hi,

I can't find Stylesheet under "Settings > Look and Feel". Where can I add my custom CSS?

Thanks

Dirk Lindner October 18, 2023

18-10-2023_14-09-46.pngThis seems to be possible only for the Confluence admins, not the Space Admin.

Like Martyn _admin_ likes this
0 votes
Maggie Modersohn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 23, 2017

Hi Frances, 

Just remove the .author to remove all the page metadata. 

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

Let me know if I misunderstood the question. 

Maggie

Kristian Klima
Contributor
February 19, 2018

Hi Maggie,

I have the same problem, I think the issue is that if you add the code to the StyleSheet, your page still displays the phrase 'Created by'.

In other words, you end up with something like:

"Created by , last modified on Feb 05, 2018"

The code insert removes the name, not the Created by phrase.

Ideally, what's left would be "Created on DATE" or "Modified on DATE".

Any thoughts on that?

Thanks,

 

Kris

harshahid_h June 25, 2020

Hi, 

Below code would remove entire line.

.page-metadata .page-metadata-modification-info {

     display:none;
}

 

Thanks,

Harsh H

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events