HTML export on Confluence is missing CSS styling

Deleted user November 4, 2017

When i export confluence  space to HTML it loosing styling. I try trick with replacing site.css in export html with batch.css from confluence but it did not help

This is from confluence space:

Confluence.PNG

This is HTML export

HTML-Export.PNG

 

 

2 answers

0 votes
codemaestro April 7, 2019

Seems there's a known bug that's been reported and not resolved over several releases. The workaround since 2016 has been to recompile the stylesheet through a LESS processor: https://jira.atlassian.com/browse/CONFSERVER-39221?focusedCommentId=903710&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-903710

0 votes
Gregor Kasmann_Actonic
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 5, 2017

View of some page and HTML export may be different because of configuration of:

  • Site Theme ( site/admin/choosetheme.action )
  • Global Stylesheet (site/admin/viewstylesheet.action )
  • Custom HTML ( site/admin/viewcustomhtml.action )
  • and a few others.

Try to check them and find extra styles.

Jonáš Pospíchal February 27, 2019

Hello Gregor,

I have the same problem as Miroslav. I do not work with any style except the default one. Could you please suggest where to check the configuration you've mentioned? And what should I look for while checking it? Thank you.
I've had the css style checked by an on-line tool and it revealed tons of errors (https://jigsaw.w3.org/css-validator/, unfortunately I cannot attach the report file itself). Maybe this generation of a css file is what should be fixed.

Jonáš.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events