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

how to get the Page Title in the PDF Export Title Page ?

How can I get the Page Title to show up in the PDF Export Title Page please.

1 answer

1 accepted

1 vote
Answer accepted

Have you tried the code here:

If it's not working, post back with what theme you're using, and what code you've modified (either html or css).

Thanks for the reply. I am not trying to get an image into my PDF export title page. I'm trying to get the text from my Page name into the pdf export. Thanks for any help.

I thought it was this part:

font-size: 42px;
font-weight: bold;
margin: 72px 0 4px 0;

Are you using the default theme?

Normally, if you export the page, the title is there. For example, try the PDF export for The title is there by default. Do you have a different theme, or customization to the PDF export already?

Normally the title prints on every page I believe. We turned that off with ".pagetitle h1 { display: none; } " but do need the Page Title on the first PDF title page.

Ok. Take another look at the .fsTitle style. Try adding:

display:block !important;

to it. Maybe it needs to override your display:none from pagetitle.

The title page is still not printed, my only pdf export css is:

.pagetitle h1 { display: none; }



font-size: 42px;

font-weight: bold;

margin: 72px 0 4px 0;


display:block !important;


Sorry - the info about display:block was the wrong guess.

The HTML you enter for a page title (under 'Page Layouts) is for exporting a space only. Try this instead, or something similar:

  1. Remove everything from PDF Layout (or, only what you want to have in a space PDF export)
  2. Enter something similar to this in the PDF stylesheet:
.pagetitle h1 { 
font-size: 36px !important;
margin-left: 250px !important;
padding-top: 300px !important;

That's just an example - you'll want to play with the margins a bit, but it should hopefully get you past this hurdle.

Thank you Jeremy. That fixed me up ! Have a great day.

In a similar vein, is it possible to get the Version number of the page to show up on the title page of an exported PDF?

Hi @Julie Chamberlain in our Scroll PDF Exporter we have implemented a placeholder functionality, allowing you to refer to specific data from Confluence in your exported file.

One of the placeholders that's available is the page revision, which could for example be used on your header or footer, and will then display the page revision number. You can find further information about all available placeholders in our documentation.

Please feel free to trial Scroll PDF Exporter via the Atlassian Marketplace and let us know via if you have any questions.


Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 (you can also ...

2,517 views 14 20
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