Default confluence pdf export style sheet

I am trying to create a style sheet for pdf export to match our corporate styles.

To this end it would be useful to see the default style sheet applied on confluence cloud so I know what to override.

I am presuming such a thing exists and is applied in some sort of order?

  1. Page CSS
  2. Server PDF CSS
  3. Custom PDF CSS

 

2 answers

1 accepted

Hi Brett,

The default Confluence CSS stylesheet for PDF export can downloaded from a link on this page (server) or this page (cloud).

Those pages are a goldmine of useful information on the subject of CSS for PDF exports, as is the Advanced page (server) and the Advanced page (cloud).

(You're on cloud, but I've included the server pages as well for anyone else who finds this question later on.)

 

This is awesome, not sure how I missed that!

Sadly page size information seems absent from the default CSS :/

I suspect this lives in yet another CSS file as reading the docs page size is set dependant on the region you are hosted in for cloud.

If i set the page size on the page it doesn't change the page size in the export, if I put it in advanced PDF export css it does change the page size.

Hi Brett,

There is a whole section on page sizing on the page I linked to.  That should cover what you need, I think?

As for the default page sizing, the value is dynamically decided based on the locale, which would (probably) mean that it's calculated by JavaScript, but I can't say for certain. 

Hi Brett,

I just wanted to let you know that we've released a new version of our Scroll PDF Exporter for Cloud including a template designer (see our Help Center for further details about your customization options).

Please feel free to try it out and check if that fits your requirements.

Cheers,
Nils

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 ...

850 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