I'd like to set a custom header and footer to load every time I export to PDF (company logo) but whatever I write in the Header, Footer or Title doesn't show up at all on the exported PDF file (Even regular text lines). Can somebody tell me what I'm missing here? I've tried to use the guide on custom PDF exports with HTML code/CSS from these links but nothing worked for me:
https://confluence.atlassian.com/doc/advanced-pdf-export-customizations-198806890.html
I'd be more than happy if somebody can, again, tell me what I'm missing...
Single page exports don't support adding HTML headers and footers via the PDF Layout page, but you can use CSS rules in the PDF Stylesheet page (Space tools > Look and Feel > PDF Stylesheet) to produce headers and/or footers for a single page export.
More info here: https://confluence.atlassian.com/doc/advanced-pdf-export-customizations-198806890.html
Hi @Erin Warner
Is it possible if you could please provide a quick example to your statement? I did follow the instructions in the link provided but to no avail.
"...you can use CSS rules in the PDF Stylesheet page (Space tools > Look and Feel > PDF Stylesheet) to produce headers and/or footers for a single page export."
The screenshots attached display what I tried:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The issue was that I wanted to display the file from my local machine (which is not supported).
So, the resolution for this issue was to create a page in confluence where the required image is attached to the page and then find its image location from below:
Space Settings > Manage content > Attachments
Modified the URL to suit the src attribute as "/download/attachments/1499725888/Company%20Logo.png" and it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here – anyone have ideas? My HTML is simple:
```
<div style="margin-top: 10.0mm; border-top: 5px solid #5f9ef4;">
<div>My Company</div>
<span id="pageNum"/>
<div>[URL]</div>
</div>
```
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.