It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Introducing Confluence Cloud and Jira Software Cloud Premium

Wherever you are in your team’s journey , our goal is to support your big ambitions. We’re a cloud-first company with the mission of unleashing the potential of every team, and to address the range ...

694 views 5 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you