Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Can you customize HTML Exports?

Our customer requires output to HTML pages. Our custom space CSS does not export when using either the Confluence HTML Export function or with the Scroll HTML Exporter. We've looked into creating a theme with Scroll, but it's extremely complicated and our writers are not developers.

Does anyone know how we can export our custom CSS to our HTML exports short of editing the resulting HTML docs?

Thanks for any help.

2 answers

We managed to perform some slight customisation by editing the combined.css

0 votes

Hello Kris,

Exporting an entire space within Confluence will not include any customization you may have applied (as you have stated). There are methods to customize the HTML export within Confluence.

To customize the HTML output, you'll need to modify the file confluence-x.y.z-jar/com/atlassian/confluence/pages/Page.htmlexport.vm. To learn how to repackage this file, see How to Edit Files in Confluence JAR Files

Source document: Export Content to Word, PDF, HTML and XML.

I hope this helps to provide some guidance into customizing your HTML export.

Stephen Sifers

Hi Stephen, do you know if this file is still in this location on Confluence 7+, I can't seem to find it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Work and wellness: Confluence Space Cleanup Play 🧹

Confluence Space Cleanup Play Complete our new Play with your team to declutter your shared workspace and power knowledge-sharing and collaboration. Download the PDF version of Play i...

855 views 6 25
Read article

Atlassian Community Events