Help with Confluence PDF Export CSS

Im wondering if anybody could help me, im trying to write a CSS stylesheet so when a page is exported with confluence it has the following information in the header

Space generated from:

Date Generated:

Page X of Y

Who generated:

Many thanks in advanced

2 answers

1 accepted

The Scroll Wiki PDF Exporter by K15t does offer the ability to do what you've described (via page layouts, not CSS), and more besides. Yes, it's a commercial plugin, but the functionality it offers is great, as is the technical support.

Thanks for the recommendation, going to Jira seem to cost us a fortune. any functionality we like requires a commercial plugin.

Hello Brian,

There is no combination of CSS that is going to allow this information to be displayed on the page. I dida sample export of a test space and saw for my export the fields that you are looking for are simply not included. CSS is used from styling elemets on a page. That it to say putting them where you want them and making them pretty.

From the documentation we see that Confluence can only render out html and css elements from the Confluence Admin > PDF Layout page. There is currently no way to add velocity (dynamically generate) elements to these page exports.

This is tracked in our community bug tracker below.

https://jira.atlassian.com/browse/CONF-16527

Please let us know if there is anything we can further clarify.

Thanks for the help.

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

251 views 11 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