Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Help with PDF Export Stylesheet

Erica Gibson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 10, 2025

I want to add a Title Page to our Global settings for exporting pdf. I following the direction for adding to the global settings but nothing is happening. What am I doing wrong?

This is what I have:

Title Section:

<div style="margin: 0; padding: 0; height: 100%; display: flex; align-items: center; justify-content: center; font-family: Arial, sans-serif; width: 100%;">
<h1 style="font-size: 3em; color: #333;">Title Page</h1>
</div>

 

PDF Stylesheet

.fsTitlePage { margin-left: auto; margin-top: 50mm; margin-right: auto; page-break-after: always; }

.fsTitle { font-size: 42px; font-weight: bold; margin: 72px 0 4px 0; text-align: center; }

1 answer

0 votes
Tomislav Tobijas
Community Champion
October 12, 2025

Hi @Erica Gibson ,

On first glimpse, this should be okay. However, an important note is that export method matters. Meaning custom PDF layouts (including title pages) only apply when you export a space or use the "Custom Export" option and not when you export a single page using the page’s more actions > Export > Export to PDF feature.

Here are some official resources that also might come in handy:

And here's also this bug, but it might not be really related to your issue: CONFCLOUD-79681: Export page to PDF on Confluence do not include the header and footer 

So, the first question is if you're exporting pages via space settings or trying to do a single-page export 👀

Cheers,
Tobi

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events