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

In PDF stylesheet, change to this for your page numbering

@bottom-right{

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

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

font-size: 8pt;

color:#595959;

}

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 10 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

91 views 2 4
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