PDF Export TOC pagenumber not visible

Hi all,

I have customized our PDF export stylesheet. Changed the pagesize, margins and font. If I export the whole space, the table of contents is displayed, but the pagenumbers are not visibile. They seem to be outside the page ...

I couldn't find the part in die standerd CSS, where I can change the position of the pagenumbers in the toc.

Where could I do this?

Here is my actual CSS:

@page
{
size: 210mm 297mm;
margin: 1.5cm 1cm 1.5cm 1cm;
background-image: url(/download/attachments/1933903/footer_btvv_A4hoch.png);
background-repeat: no-repeat;
background-position: 50% 97%;
}

.fsTitlePage
{
margin-left: auto;
margin-top: 50mm;
margin-right: auto;
page-break-after:always
}
 
.fsTitle
{
font-size: 42px;
font-weight: bold;
margin: 72px 0 4px 0;
text-align:center;
}

table
{
table-layout: auto !important;
width: 100% !important;
}
 
th.confluenceTh
{
color: #000000;
background-color: #f0f0f0;
}
 
body
{
margin: 0;
padding: 0;
font-family: Garamond, serif;
}
 
body,p,li,td,table,tr,.bodytext,.stepfield
{
font-size: 10pt;
}
 
h1
{
font-size: 26px;
margin: 36px 0px 30px 0px;
}
 
h3
{
page-break-after: avoid;
}
 
.panel
{
border-color:#000000;
background:#FFFFFF none repeat scroll 0 0;
padding:10px 10px 15px 10px;
margin:15px 0px;
}
 
.panelContent
{
background:#FFFFFF none repeat scroll 0 0;
}

1 answer

1 accepted

I've found it ...

div.toc
{
width: 95% !important;
}

Works!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

374 views 20 10
Join discussion

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