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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

765 views 23 12
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