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

Accepted Answer
3 votes

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.

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 Tuesday in Confluence

Introducing Praecipio Consulting, an Atlassian Solution Partner

Hey there Community!  My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they c...

349 views 0 9
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