Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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

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:

CSS - PDF STYLESHEET
@page
{
/*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!

Regards,

Shannon

Suggest an answer

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

Confluence Bingo Round 3!

That’s right! Grandma’s back at it again, and this time she’s brought all her friends. In honor of Team '21, this Bingo round is dedicated to all things team-related, and the prizes are no exception....

3,153 views 31 22
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