Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Where to find the CSS actually used in PDF export?

Raphael Matter
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 9, 2025

 

I need to customize my Confluence Cloud PDF export and followed the instructions on

https://support.atlassian.com/confluence-cloud/docs/customize-exports-to-pdf/

and used the linked default CSS at

 

https://confluence.atlassian.com/confcloud/files/724764825/724764826/1/1427771626612/confluencedefaultpdf.css

But actually it looks in many cases that this is not the CSS really used by confluence, Maybe outdated?

How to find out which css classes are used?

Guessing and trying is not an acceptable way.

E.g. on every page there is a light grey border in the middle of the page.

If I disable borders for all elements (using css * selector) it's gone.

But I cannot disable all borders, I only want to find this specific border. But in the deault css provided, there is no matching element with such an border.

So, how to debug the css and pdf export?

Any help is much appreciated! Thanks

1 answer

0 votes
marc -Collabello--Phase Locked-
Community Champion
April 9, 2025

The PDF export customization is only for space exports, not for individual page exports.  That might be your issue.

Individual page exports can't be customized by CSS.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events