Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,301,297
Community Members
 
Community Events
165
Community Groups

How to hide the page title?

We are using Confluence 4.2.8 and would like to hide from users the page title to make the page look cleaner. We are using Navitabs to help with the navigation and the page title just look odd above the navitabs.

Any ideas?

7 answers

1 accepted

2 votes
Answer accepted

You can use CSS again to override the default settings and make it invisible. Use Custom HTML again, Browse > Confluence Admin . Custom HTML

<style type="text/css">
h1.pagetitle {display:none;}
</style>

You can add it just after the javascript to set your drop down menu ;-)

and if you want rid of the page meta data (created, modified dates) as well....

<style type="text/css">
h1.pagetitle {display:none;}
div.page-metadata ul li {display:none;}
</style>

Great suggestion! :) Because this is CSS though it's better off in the Stylesheet section of Confluence Admin, so it's easy to find later on. In there you just need to enter this line:

h1.pagetitle {display:none;}

Like Deleted user likes this

I think I used this code in older versions. Now, in 6.13.23 it doesn't seem to work anymore.

Any idea for an updated version?
What would be the proper html element and/or CSS class that I have to grab (the equivalent to "h1.pagetitle" from the old example) ?

I tried with "h1#title-text".
That works when entered on the wiki page with the CSS macro. But when exporting the page to PDF, it doesn't seem to have any effect.

For Confluence 5.8.5, I managed to get the following working without disabling all h1 tags:

1) Add HTML macro to bottom of page (use default settings)

2) Add html as follows:

   <style type="text/css">
      #title-text { display: none;} 
   </style>

 

I got it to work in the space's sytlesheet by adding:

#title-text { display: none;}
Like # people like this

Saw this too late (after my post from above). Now, tried it, doesn't work in my case for some reason ;-(

As far as I see "Custom HTML" addon is very expensive...
Is there no built-in way to hide the title??
IMHO this should be supported by default (show/hide title)

We are using cloud. How can I hide the page title for few pages. We are using documentation theme.

Hi,

I am using the documentation theme. The only way I can hid the page title is using this code:

h1 {display:none;} !important

Trouble is when I do this, all h1's disappear throughout the site. so then I tried the following and it doesn't work at all. I'm new at Confluence, html and css, so any help appreciated! Thanks

h1.pagetitle {display:none;} !important

Hello. Quick question, if there's a way to hide it,, is there also a way we can format it on our own preference? By default, it displays the logo and all. Is there a way to remove the logo, change the font size (to make it bigger) and implement a color scheme for this?

Thanks youuu

Thank you so much!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

426 views 2 13
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you