PDF layouts won't work Edited



I was trying to set up a footer for our pdf export. And for testing purposes I used very simple HTML and CSS codes, but they won't show up in the exported pdf file.  I used this documentation already to set it up: 




I also tried it on our first confluence instance and I had the same result. Nothing showed up in the exported file.

Thank you in advance,


Ingo Herbrich


1 answer

1 vote
Ann Worley Atlassian Team Sep 14, 2017

I will be happy to try your CSS and HTML on my test instance to see if it works for me. Would you mind posting it? There is a code block option under the Formats menu here on the forum.

I noticed you linked documentation for Confluence 5.6. Is that your version? If not, please let me know the version of Confluence you are running.

We are currently running version 6.3.3. I used simple HTML code like <p>Hello</p> for testing which didn't work out. But I also prepared a HTML which we want to use later, but it won't show up either. I also tried to set it up globally and space wide but nothing worked out. This is the code we would like to use later:

<p><img style="width: 270px; height: 91px; float: left;" src="test.png" /></p>
<div class="fusion-column col-lg-3 col-md-3 col-sm-3">
<div id="text_icl-7" class="fusion-footer-widget-column widget widget_text_icl">
<h4 class="widget-title" style="text-align: right;">&nbsp;</h4>
<h4 class="widget-title" style="text-align: right;">&nbsp;</h4>
<h4 class="widget-title" style="text-align: right;">&nbsp;&nbsp;<span style="font-family: calibri;"><span style="font-size: small;">Test</span></span></h4>

Update: When I export via Space Tools -> Export -> PDF -> Normal Export/Custom Export the HTML code is working. But it has to work on the page itself via the "..." menu. Everything else wouldn't make any sense for us. 

Ann Worley Atlassian Team Sep 15, 2017

Thanks for the update. According to our doc, Customize Exports to PDF, it is working as expected:

  • PDF customization only applies to space exports (not single page exports via Tools > Export to PDF)

I was not surprised to see a suggestion ticket open for this:

Provide ability to customize single-page PDF and Word exports

I noticed there aren't any comments, which did surprise me. I can see why you wouldn't want to grant access to space tools to everyone who needs to export a page to pdf.

If you vote or comment on the suggestion, you will be added to notifications so you will know when there is activity on the issue.

In the meantime, please check out this free add-on and let me know if it works for your use case: PDF Macros for Confluence

Suggest an answer

Log in or Join to answer
Community showcase
Kesha Thillainayagam
Posted Mar 05, 2018 in Confluence

We want to know what templates you're using in Confluence!

Hi Community!  My name is Kesha (kay-sha not Ke$ha) and I'm on the Confluence Product Marketing team. We are trying to understand and improve template use cases in Confluence, and are intereste...

2,720 views 33 5
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot