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
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 Apr 13, 2018 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...

372 views 20 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