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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

682 views 21 12
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