-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
Component/s: Space - Export - PDF
-
None
-
1
-
Severity 3 - Minor
Issue Summary
When exporting a Confluence Cloud space to PDF, the CSS directive for setting page orientation (e.g., @media print { @page { size: A4 landscape; }}) is ignored. The export always results in portrait orientation, despite the CSS being correctly applied in Space Settings → Look and Feel → PDF Stylesheet.
Steps to Reproduce
1. Go to a Confluence Cloud space.
2. Navigate to Space Settings → Look and Feel → PDF Stylesheet.
3. Add the following CSS to set landscape orientation:
@media print {
@page {
size: A4 landscape;
}
}
4. Save the changes.
5. Export the entire space to PDF.
Expected Results
The exported PDF should use landscape orientation as specified by the CSS directive. As mentioned in the article, 'Customize layout for PDF exports in Confluence Cloud'.
Actual Results
The exported PDF remains in portrait orientation. The CSS directive for page orientation is ignored.
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available.
- mentioned in
-
Page Loading...