PDF export increase Top margin width

I've been testing PDF output and have applied a style sheet as discussed in this thread.

This new style sheet works great because it increases the text size so normal people can read it. However, now page titles appear close to smaller top header text. I was trying to increase the header size by trying various widths in these settings:

}
h1.pagetitle 
{
page-break-before: always;
}
h1.pagename
{
margin-top: 10;
}

But adjusting margin-top doesn't seem to do anything. Is it possible to increase the top margin to push the page title further down on PDF output?

Thanks!

2 answers

1 accepted

0 votes
Answer accepted

I am not going to pursue this. We're just going to get a plug-in that helps with PDF customization. It's easier.

Are you customizing the styling for the Confluence page so that it exports the way you want it or customizing the pdf stylesheet so that it exports according to the export stylesheet?

https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF

There is also ways to customize the pdf layout. Might find what you're looking for ^ there.

Suggest an answer

Log in or Sign up to answer
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 Take your e...

276 views 2 10
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