Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Title page in PDF: I see the title, but below the ToC, and numbered as 1.

I tried the css suggested in https://confluence.atlassian.com/doc/advanced-pdf-export-customizations-198806890.html#AdvancedPDFExportCustomizations-AddingaDynamicTitletotheTitlePage and added it in with the pdf styles.

I do get the page title, but it looks like this (title below TOC, unwanted numbering...)

confluence.png

2 answers

Managed to solve the ToC above the title. I added

<h2 style="page-break-after: always;"></h2>

at the end of Space tools > Look and Feel > PDF Layout > Edit > PDF Space Export Title Page. Now looking up the numbering in ToC starting with 0.

Hi Francis,

I'm having the exact issue so thank you for helping me :-)

Do you have a resolution for the numbering in TOC starting with 0?

 

Kind Regards

Jennifer

Hi Francis,

I don't know if this will help, but I've found a way to remove the numbering completely.

I've given up on figuring out how to fix the TOC starting with a '0' and my page title starting with a number...

 

You simply need to add the following into your PDF Export Stylesheet:

 

div.toclvl0:before { content: ""; }

div.toclvl1:before { content: ""; }

div.toclvl2:before { content: ""; }

div.toclvl3:before { content: ""; }

div.toclvl4:before { content: ""; }

div.toclvl5:before { content: ""; }

 

Thanks

Jennifer

Not sure if you are still facing this issue but I eventually solved it by changing the default CCS a bit like this:

.toclvl0
{
font-size: 42px;
font-weight: bold;
margin: 5px 0 4px 0;
text-align:center;
}

.toclvl0 .tocnum
{
display: none;
}

.toclvl0 .toclead
{
display: none;
}

Now it neatly shows the first TOC level (0) above the TOC without a page number, section number or leader. :)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

187 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you