Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-40907

HTML export on Confluence is missing CSS styling

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Summary

      When exporting a Confluence space to a HTML page, the exported css is broken.

      Steps to Reproduce

      Export Space to HTML:

      1. Go to the Space you wish to export
      2. Go to Space Tools and choose Content Tools
      3. At the Export Tab, chose HTML export.

      Expected Results

      The exported space should use the same style as the one on the Confluence Cloud instance

      Actual Results

      Style is broken on the exported space. If you look into the site.css file provided in the zip you can see some classes are missing

      Workaround

      This is unsupported workaround.

      1. Go to the problematic space.
      2. Open the page source in your browser. In Chrome, this is possible by right-clicking on the page and selecting View Page Source.
      3. Locate the first hyperlink mentioning batch.css and open it. You can find it with ctrl + F or cmd + F and clicking on the link that is displayed.
      4. Copy the entire content of the page you opened.
      5. Replace the content of the site.css file that you previously exported and save.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mgocevska Maja (Inactive)
              Votes:
              52 Vote for this issue
              Watchers:
              38 Start watching this issue

              Dates

                Created:
                Updated: