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:
Page X of Y
Many thanks in advanced
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.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG