How to exclude the numbering header from appearing on the Page Title in PDF export?

Aina Afrina March 11, 2025

I'm using this CSS code, but after exporting to a PDF file, numbering starts appearing on the page title.

Screenshot 2025-03-12 140523.png

Here is the code that i used:

body { counter-reset: heading1_counter; } 

h1 { counter-reset: heading2_counter; }

h2 { counter-reset: heading3_counter; }

h3 { counter-reset: heading4_counter; }

h1:before {
counter-increment: heading1_counter;
content: counter(heading1_counter) ". ";
}

h2:before {
counter-increment: heading2_counter;
content: counter(heading1_counter) "." counter(heading2_counter) ". ";
}

h3:before {
counter-increment: heading3_counter;
content: counter(heading1_counter) "." counter(heading2_counter) "." counter(heading3_counter) ". ";
}
 

 

How to exclude the numbering header from appearing on the page title in PDF export Confluence and start the numbering header after the page title?

1 answer

0 votes
Cyrille Martin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 12, 2025

Hi @Aina Afrina 

Can you mention which plugin of Numbered Headings you are using ?

Lots of partners' apps provide a solution for that.

Regards,

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events