Forums

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

Multi page export issue

Matt_Henslee May 22, 2019

Hello!

I'm having an issue that hopefully someone else has encountered in the past and may have some guidance on. I'd like to be able to select specific pages of my Space and export to PDF using the native Confluence exporter with some stylesheet modifications that I've done.

The problem is, single pages "bleed over" into the next page on occasion. Is there a way to force a single Page to export to a single Page using some CSS magic?

I have done some light modifications already, such as font sizing, header and footer, landscape, etc.

1 answer

0 votes
Matt_Henslee May 22, 2019

My CSS for reference:

@page {
size: 11in 8.5in; /* force landscape format */
margin-top: 0px:
margin-bottom: 0px;
margin-right: 0px;
margin-left: 0px;
/* modify presets */
h1 {
font-size: 24pt;
font-weight: bold;
font-style:italic;
}
@top-center {
content: "HEADER GOES HERE"; /* This is the content that will appear in the header */
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 8pt;
font-weight: bold;
}
@bottom-center {
content: "FOOTER GOES HERE " "Page " counter(page) " of " counter(pages); /* This is the content that will appear in the footer */
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 8pt;
font-weight: bold;
}
/* Any other page-specific rules */
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events