Forums

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

Avoid every Confluence page starting on a new PDF page

Martin_Nitschke February 15, 2019

Hi, 

currently our PDF Export is used to send our product documententation to our customers. For this reason our PDF Layout and Stylesheet is adapted to our companies cooperative design.

We are using Confluence 6.12 and we are about to update to version 6.14.1 but during a test on our test system we noticed that the page number of our PDF export has risen threefold because every Confluence page starts on a new PDF page. 

Is there any way to avoid this new feature which was added in version 6.13: (https://confluence.atlassian.com/doc/confluence-6-13-release-notes-959288785.html "PDF Export improvements -> Each Confluence page starts on a new PDF page, making your documents easier to read")?

We aint see any advatage of this feature because now we have PDF pages with only one sentence on it for intance.

Thank you in advance

1 answer

1 accepted

1 vote
Answer accepted
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 18, 2019

Hello there Martin!

You sure can disable this by using the following CSS styling:

.pagetitle {
    page-break-before: auto;
}

You can change the PDF Layout by going: Cog Icon > General Configuration > PDF Stylesheet.

There, you need to click edit and then add the CSS above. This will stop Confluence from creating a new PDF page for each Confluence page.

You can find further information on PDF customization here:

Customize Exports to PDF

Let us know your thoughts Martin!

Martin_Nitschke February 19, 2019

Hi Diego,

thank you very much. It worked. 

I tryed something with h1 because I thought the page break belongs to the heading but it isn´t. 

The class pagetitle with the property page-break-before: auto is the correct one. 

Thank you again and best regards

Like # people like this
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 19, 2019

Glad to know I was able to help you out!

If you ever need help, come share with us in the Community.

Like Martin_Nitschke likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events