How to increase the padding of header/footer inthe Confluence export pdf

Meera.Amanullah
Contributor
March 21, 2024

I would like to add more space in my confluence bulk exported pdf header and footer.

As of now, if I add some text inside the PDF Space Export Header/Footer, I am able to see them in the in the pdf. I want to increase the size of the Header and Footer,  please help me.

1 answer

0 votes
Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 21, 2024

Hi @Meera.Amanullah,

Try to add this CSS on the PDF Stylesheet tab (Content tools > Look and Feel > PDF Stylesheet):

@page 
{
margin-top: 5cm;
margin-bottom: 5cm;
}

It will add 5cm to the top and bottom margins.

Also, the article Customize Exports to PDF may help here with PDF export customisation examples. Please take a look at it.

Meera.Amanullah
Contributor
March 22, 2024

Hi @Kseniia Trushnikova ,

Thanks for the answer, it works fine.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events