Cloud: How can a page break be set within a single Confluence page?

This question is in reference to Atlassian Documentation: Customize Exports to PDF

We have checked that this CSS works on exporting a space to PDF as described in the docs:

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

But, how can we add more page breaks like this one, but relative to content of the page? (ie: headers, images, and so on...).

Are there any workarounds to insert a page break wherever you want in a Confluence page?

1 answer

1 accepted

2 votes
Accepted answer

Just add a Div macro with a style of page-break-before: always:

image2016-11-21 12:26:11.png

It works like a charm. Thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Feedback & Announcements

How do you analyze GC logs, thread dumps and head dumps?

Hi awesome community!  In this article, I would like to describe the one of the toolset (service) for the analyze some problems on different Java-based instances, of course, as Atlassian admini...

94 views 0 7
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