When I export my page as PDF - in some scenario, it results into multi-page PDFs.
I have used notes to add a page count (and Page of Page).
What I also want to do is - add Title of the page in the page header or footer - so that when these are printed, each page can be connected.
I have tried using content: running header - but that doesn't seem to be working. Can this be done?
Is there a repository that I can refer to what can be accessed and added to PDF using CSS?
Hello there @Chirag Sanghavi !
If you need to have the page title in the PDF header when exporting a single page that results in multiple PDF pages, do this:
- Go into "Space Settings"
- Select the "Look and Feel" tab
- Select "PDF Stylesheet"
- Copy this:
@page {
@top-center {
content: element(runningheader);
}
}
.pagetitle h1 {
position: running(runningheader);
}- Click "Edit" in the "PDF Stylesheet" tab
- Paste the code you copied
- Save the changes
- Export your page
This will display the page title in all PDF pages after export.
Let us hear from you!
Edit:
Documentation on PDF exports customisation:
Thank you for your reply.
Yes - that did work ; but it seems to "steal" the title.
Here is the before and after image with this change.
Is it possible to keep title in both places? at center of the header as well as where it was originally?
e.g. keep title as H1 where it was - as well as duplicate it in center of the header.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Chirag Sanghavi , did you have the opportunity to use a Marketplace app to generate your PDF exports?
If so, we (K15t) develop Scroll PDF Exporter which would allow you to add static content such as a Title page or Table of Contents and also define the formatting for the page header or footer for your exports. You can learn more here.
Cheers, Thomas (K15t)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks - I am looking more for standard functionality currently.
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.