Hi,
I went to "Space Settings">"Look and Feel" > "PDF Stylesheet" and tried to change things like changing when the page breaks occur and adding page numbers when I export to a PDF. I used the CSS:
h1, h2, h3 {
page-break-before: always; }
@pagetTeng
{
@bottom-center
{
content: "Page " counter(page) " of " counter(pages);
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 8pt;
}
}
Nothing I do in the PDF Stylesheet is showing up when I export a Page to a PDF. Can you tell me what I'm doing wrong and how I can adjust the PDFs of the different pages I created?
Hi Antonia,
Did you have further formatting requirements that you needed to apply to your exported content from Confluence? If so, our app, Scroll PDF Exporter might be able to help as you will be able to define the styling for your exported content. This includes being able to define where page breaks occur in the export either through the use of our Scroll Pagebreak macro directly in Confluence, or through styles defined in an export template.
Cheers, Thomas (K15t)
Hello Antonia,
Thank you for contacting us about this. The reason your customization is not applying is because PDF customization only applies to space exports (not single page exports). This is per our documentation Customize Exports to PDF.
You can try the following workaround from Export Content to Word, PDF, HTML and XML:
This will allow you to export a single page using the customizations you made for the space.
Can you try that and let me know if you have any trouble?
Regards,
Shannon
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.