Page breaks and page numbering issues

Chie Matoba August 18, 2024

Hello, Community,

I want to export PDF without page breaks and with page numbers on the bottom right, but our CSS does not work correctly (it used to work without issues).

Here is a part of the CSS I am using to export PDFs:

  • Page numbering section

  @bottom-right { content: counter(page); font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif; font-size: 8pt;

  • Page breaks section

.pagetitle { page-break-after: avoid; }

 

 

The page number does not increment; it starts from "1" for every section, and pages break for each section.

I am using version 7.19.18 of Confluence.

How can I modify the CSS to avoid page breaks for each section and insert page numbers to the bottom right? 

2 answers

0 votes
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 19, 2024

Hi @Chie Matoba 

I suggest you give Scroll PDF Exporter app by K15t a try. It produces much better PDF exports without the CSS headache.

Chie Matoba August 19, 2024

Hi @Kristian Klima

Thank you for your quick response. I will download and install the app and see how it works.

Like Kristian Klima likes this
0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 18, 2024

Hi Chie - Welcome to the Atlassian Community!

I have updated the tags to show it is for Data Center so others can help. 

Chie Matoba August 19, 2024

Hi, @John Funk

That would be great! Thank you.

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events