Hi all
I have been reading through the answers to this kind of question and have found that this should have been as simple as adding
h1
{
page-break-before: always;
}
in the PDF Style Sheet of the space. I have added the above but my export is not pagebreaking on h1 ??
Can anyone tell me where I went wrong?
Thanks
Gary
OK, just worked out me issue.
It seems that as the PDF Export generates the PDF the page title in the WIKI becomes a Level 1 Heading. This then pushed the heading I have in the page to a lower level.
So if I use:
h1, h2 {
page-
break
-before: always; }
Elsehwere in the documentation for the PDF export feature, it explains how all heading levels are demoted based on the overall hierarchy. Sometimes headings get demoted farther than you expect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Similar issue reported here: https://answers.atlassian.com/questions/103752/several-issues-with-pdf-stylesheet-output-for-confluence-4-3
Which version of Confluence are you using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have version 4.3, and as per my post I already have the code in place. The link you provided is using my h1. {page-break-before: always;}. Only problem is that mine is not breaking on heading of level one when exported to PDF
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.