Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Landscape setting of Global PDF Stylesheet is not working!

PDF stylesheet setting for landscape was working before but not working anymore.

Please fix this ASAP!!!

1 answer

0 votes
Shannon S Atlassian Team Nov 25, 2019

Hello Jerry,

Welcome to Atlassian Community. It's nice to have you.

I just want to confirm what it is that isn't working for you. I assume that you're using the CSS workaround from Customize Exports to PDF in order to force landscape for page exports to PDF:

To change the page orientation of your PDF document, simply reverse the order of the values declared in the @page rule's size property. The first and second values of this property represent the width and height of the page, respectively.

For example, to generate PDF space exports in A4-sized landscape orientation, your @page rule might look like this:

/*A4-sized pages in landscape orientation are 297 mm wide by 210 mm long*/
size: 297mm 210mm;

Can you confirm if this is the modification you made that is not working?

What are you trying to export? Individual pages, or an entire space export? 

Thank you for your help!



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

Presenter Mode for Confluence is here 🖥 👩‍💻

👋  Hello Community!  My name is Stephanie Zhang, and I’m a product manager on the Confluence cloud team. Today, I’m excited to announce the rollout of  Presenter Mode : a ...

80,945 views 127 305
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