It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Removing Page Title from PDF Export

Is there a way to remove the page title from my PDF export? I have tried changing several things in the stylesheet but so far have not succeeded. 

I am attempting to use confluence for company procedures and want more control over the title of the procedure & therefore have included it in the body of the page. So I need to remove the page title from the export so that it is not displayed twice. 

2 answers

1 vote
BTom Atlassian Team Mar 15, 2015

Hi Joanne,

In my 5.6.4 instance, I'm able to hide page titles in the PDF export by adding the following CSS to the PDF Stylesheet, located in the Administration console:

.pagetitle h1, .pagetitle h2 { display: none; }

The first selector removes the title on single page exports, and the title of the home page in space exports. Using the second selector will remove the titles of child pages in space exports. Please try this out to see if it suits your needs.

Cheers,

Brian

Hi Brian. 

Your suggestion helps remove the main title, h1 and h2. However, I just want to remove the main titile, not the headings. How can I do this?

Thanks.

Hi! In Confluence Server 6.13 this solution doesn't work. You could use this code instead:

h1.title-header
{
display: none;
}
Like # people like this

Hi,

The original question had its birthday already, but I had similar problem and wanted to share. I was wondering how to remove title page from PDF export.

This is easy to do. Just remove all "PDF Space Export Title Page" definitions in Space Operations AND also in Confluence's General configuration. Those definitions are located under Look and Feel / PDF Layout -categories in both settings groups, in space specific and in general settings.

Best regards,

Arto

 

my PDF space export title page definitions are empty by default. how can I remove page title from pdf export?

 

Edit: The solution for applying pdf stylesheet to display:none works!

Suggest an answer

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

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

397 views 11 11
Join discussion

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