Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,465,137
Community Members
 
Community Events
176
Community Groups

Is there a listing of all the css classes that are used when exporting to PDF?

 

Hi 

I have been successful in stopping the ".confluence-information-macro-information " class from being included in a PDF export.  

Is there a listing of all the css classes that are used when exporting to PDF?

I tried looking at the CSS of the published page BUT the classes seem quite different to the one used in the PDF export. 

This would be useful to hide or format any macro or html element for pdf export. 

 

For example: 

In the published page the div has the class 

class="ak-editor-panel css-xyzabc"

data-panel-type attribute ="info"

This is different to .confluence-information-macro-information 

 

fyi the issue that gave me some clues: [CONFSERVER-31307] Word and PDF Export: Info, Note, Warning and Tip macros are not included in the exported document - Create and track feature requests for Atlassian products.

 

See the possible workaround section. 

 

Thank Barry

1 answer

0 votes

Hi @Barry Steinberg ,

welcome to the Atlassian community!

That link is for server instances. For a cloud instance that request is not in place yet https://jira.atlassian.com/browse/CONFCLOUD-31307

Hope this helps,

Fabio

Thanks @Fabio Racobaldo _Herzum_ 

CONFCLOUD-31307 was to resolve some other issue, it was about missing icons in the pdf.  

I am not reporting a problem. I am asking for help. I want to know what CSS selectors to use for the various elements.  Is there a naming convention or any documentation?

 

Thanks Barry  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Atlassian Community Events