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

3 votes
Accepted answer

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
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

462 views 3 18
Read article

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