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
Community showcase
Published Tuesday 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...

203 views 2 10
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