PDF Export: change font sized used for "Page Properties Report" and "Table" content only


can anyone help - I'm looking to address some anomalies I'm getting when creating PDF output on pages that use either "page properties report" or "table". Typically my user community is finding that this data is often truncated or badly formatted. changing the page orientation form portrait to landscape is undesirable - so my thoughts turned to selectively change the PDF stylesheet to change the font size only when a "page properties report" or "table" macro is being output  - the remainder of the PDF output uses the default font. 

I've looked at the examples: https://confluence.atlassian.com/conf53/customising-exports-to-pdf-411108704.html where it outlines how to change the font for the whole PDF output - but my desire is to change the output for just the PDF output for the macros stated (page properties report / table)

Many thanks!

1 answer

Changing the font size for a specific area within the page (like these macros) should be possible when you find the right CSS selectors. In other words you must check the HTML source code for that area and then define CSS that will (1) take effect for these HTML tags, (2) leave all the rest unaffected and (3) has a higher priority and overwrites other (standard) CSS formats.

First step is to know the HTML code. If I did, I could try my luck.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,644 views 4 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you