Im struggling with apparently a simple task - when I export a particular page, I'd like to have the page title (h1 pagetitle) on the first page in the page area (not the header) and then the same page name repeated in the footer of every page.
What I've achieved until now is: by defining the PDF stylesheet I either have the page title in the first page or I have it in the footer, never both.
In the global PDF stylesheet I've defined (for the page title in the footer):
.pagetitle h1 {
display: block;
position: running(header1);
page-break-after:avoid;
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 14pt !important;
vertical-align: center;
text-align: left;
}
and in @page section
@bottom-left {
content: element(header1) !important;
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 10pt;
vertical-align: top;
text-align: left;
}
But this way there isn't any page title in the first page.
Removing "position: running(header1);" brings back the title on the first page but removes it from the footer.
Is there any way to achieve what I'm trying to do? I've checked similar threads already, none of them seems to give a binding answer.
I'm having the same experience. If I define anything putting the title in a header or footer it disappears from the first page. Did you get a solution?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.