Hello,
Does anyone know if the CSS Stylesheets for export to PDF are not working correctly.
I cannot seem to control the size of the text.
I have tried various different ones online but nothing seems to change the size of the exported font in the PDF.
Thanks in advance
Hello @Alistair Attrill
This situation could be caused by the latest update to the exporter. Check the links below, where it is said that:
"In Q2 2023 we released an update to PDF export that renders Confluence pages more accurately. However, this update does not support the customizations described in this page and will fall back to the older method of PDF export that does not render Confluence pages as accurately if these customizations are detected."
Hope this helps!
Rodrigo
It works fine for me. Try to add this on the PDF Stylesheets tab:
body,p,li,td,table,tr,.bodytext,.stepfield
{ font-size: 14pt; }
Refer to this article How do I change the font sizes in PDF export?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alistair Attrill, sorry, I checked it on my Confluence Data Center instance...
This CSS doesn't work for Confluence Cloud, indeed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alistair Attrill, try to use this:
body,p,li,td,table,tr,.bodytext,.stepfield
{ font-size: 8pt !important; }
"!important" will enforce the font change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.