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

This widget could not be displayed.

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

This widget could not be displayed.

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
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

470 views 6 6
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