Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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?

2 answers

0 votes
Zoriana Bogutska_Adaptavist_
Atlassian Partner
March 14, 2025

Hi @Aina Afrina 

It is possible to skip heading 1 for users of apps like Mosaic or the Numbered headings for Confluence. 

Screenshot 2025-03-14 at 07.39.06.png

0 votes
Cyrille Martin
Community Champion
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,

Aina Afrina March 12, 2025

I dont use any plugin Numbered Headings. I have been following from this Additional PDF export settings | Confluence Cloud | Atlassian Support

Suggest an answer

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

Atlassian Community Events