Have you tried the code here:
If it's not working, post back with what theme you're using, and what code you've modified (either html or css).
Thanks for the reply. I am not trying to get an image into my PDF export title page. I'm trying to get the text from my Page name into the pdf export. Thanks for any help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I thought it was this part:
fsTitle { font-size: 42px; font-weight: bold; margin: 72px 0 4px 0; text-align:center; }
Are you using the default theme?
Normally, if you export the page, the title is there. For example, try the PDF export for http://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF. The title is there by default. Do you have a different theme, or customization to the PDF export already?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Normally the title prints on every page I believe. We turned that off with ".pagetitle h1 { display: none; } " but do need the Page Title on the first PDF title page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok. Take another look at the .fsTitle style. Try adding:
display:block !important;
to it. Maybe it needs to override your display:none from pagetitle.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The title page is still not printed, my only pdf export css is:
.pagetitle h1 { display: none; }
fsTitle
{
font-size: 42px;
font-weight: bold;
margin: 72px 0 4px 0;
text-align:center;
display:block !important;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry - the info about display:block was the wrong guess.
The HTML you enter for a page title (under 'Page Layouts) is for exporting a space only. Try this instead, or something similar:
.pagetitle h1 { font-size: 36px !important; margin-left: 250px !important; padding-top: 300px !important; page-break-after:always; }
That's just an example - you'll want to play with the margins a bit, but it should hopefully get you past this hurdle.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Jeremy. That fixed me up ! Have a great day.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In a similar vein, is it possible to get the Version number of the page to show up on the title page of an exported PDF?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted] in our Scroll PDF Exporter we have implemented a placeholder functionality, allowing you to refer to specific data from Confluence in your exported file.
One of the placeholders that's available is the page revision, which could for example be used on your header or footer, and will then display the page revision number. You can find further information about all available placeholders in our documentation.
Please feel free to trial Scroll PDF Exporter via the Atlassian Marketplace and let us know via support@k15t.com if you have any questions.
Best,
Nils
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.