How do I customise PDF exports to do the following please...

A couple of questions please:

I used the Confluence PDF Layout and stylesheet for the PDFs Confluence produce- CAC_PDF_stylesheet.txt, however would still like to make some minor modifications below, and am a beginner html/css coder.

Can someone please help? Thank you.

  1. Currently the page number is on the top right of the page. If I want it to be on the bottom right of the page and say Page x of y where y = total pages, how would I do that?
  2. If I want to centre the 'Table Of Contents' how would I do that?
  3. Some images, but not all are enlarged in the PDF and missing their right hand side in places. It appears to have nothing to do with the pixel size of the images on the screen and is random. Any idea why?

Thank you very much. Appreciate your help smile

1 answer

This widget could not be displayed.

In PDF stylesheet, change to this for your page numbering


content: "Page " counter(page) " of " counter(pages);

font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;

font-size: 8pt;



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

580 views 7 6
Join discussion

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