Follow up to question on missing headers and footers in PDF export

I posted this custom code for my PDF title page in the hope somone could explain why my headers and footers aren't showing.

I'm still waiting on a follow up. Any help?

Here's the custom code so far:

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

.frontpagelogo
{
text-align: right;
}

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

.fsTitle2
{
font-size: 42px;
font-weight: normal;
margin: 20px 0 4px 0;
text-align:center;
}

.fsPubDate
{
font-size: 18px;
font-weight: normal;
margin: 100px 50px 4px 0;
text-align: right;
}

.fsDisclaimerTitle
{
font-size: 24px;
font-weight: normal;
margin: 200px 0 4px 0;
text-align: center;
}

.fsDisclaimerCopy
{
font-size: 15px;
font-weight: normal;
margin: 20px 0 4px 0;
text-align: center;
}

1 answer

I can't give you an answer but hopefully I can guide you in the right direction. I know that a product called Flying Saucer is what's used to generate the PDF from CSS.

Here's a link that may help: http://stackoverflow.com/questions/8712854/flying-saucer-hide-header-and-footer-on-first-page

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

325 views 15 10
Join discussion

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