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

0 votes
Accepted answer

I've found it ...

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

Works!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,187 views 4 6
Read article

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