I have read all the documentation about pdf page customization but I don't understand it. Is it possible to customize a single page within a space? I would like to add an image header and a footer, both styled via css.
I have tried using the space look and feel options but these do not have any effect [either on a space or the page within that space].
I am using the latest version of Confluence [30 day trial].
none of these worked. It only works if I export the space...
This is a bit complicated and seems to often cause confusion. I will try to sort it out:
There are three ways to "customize" your pages:
These customisations will take effect when you export your pages. Here again, we have two different ways to export:
If you want headers and footers, there are two main methods:
Header and footer can be added with css code in the PDF Stylesheet or with html code in PDF Layout. In both cases it will affect all the pages in the space and not just one.
If you use the method with PDF Stylesheet, you can both use a single page export or a space export. It you use the method with PDF Layout, it will only work if you do a Space export.
The {css} macro is typically used for inline css and probably not the ideal solution when you need headers and footers.
------
If nothing has worked so far, try this for a start:
Enter some html code to the PDF Layout > PDF Space Export Header and do a Space export. The exported PDF should have a header with the text you entered.
If you want to extend that and use an image in the header, you must first attach the image to a page and copy its URL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for all your help. I will try it out!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good explanation! Helped me out a lot with highlighting the difference for styling individual pages. This should be copied to the official documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are there any possibilities to customize the styling of the pdf export, such that it only affects the space export and not the single page export?
I have styled the pdf using html/css, but i also want to have the possibility to export a page without any styles using the button "Export to PDF" on a specific confluence-page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try k15t's Scroll PDF Exporter plugin. I am using it, and it works very well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David.
You can customize it via css, but i dont know if is it possible to only one page. If you need to CSS PDF then go to Look and Feel and there is it :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Meet the engineers who are making the Confluence magic happen at Atlassian ✨
RSVP now!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.