Forums

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

Changable title on title page for PDF export

Silas Böcher November 25, 2021

I want a user friendly way to change the title when exporting a space to pdf. 

This is what I have in the "Title" section of the pdf export:

<div class="fsTitlePage">
<div class="fsTitle">MyPageTitle</div>
</div>
With this for the styling:
.fsTitlePage
{
margin: 0;
page-break-after:always;
background-image: url(somePic);
background-size: 30%;
background-position: center;
}

/*Title that is defined for the Title Page, not the name of the Page in Confluence*/
.fsTitle
{
font-size: 42px;
font-weight: bold;
margin: 72px 0 4px 0;
text-align:center;
}
I want to change "MyPageTitle" without the need to change the code. 

Not that I am using the space export, even for exporting a single page.

1 answer

1 accepted

1 vote
Answer accepted
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 25, 2021

Well if you run the Scroll PDF exporter, they have a special macro for overriding the page title. I use it often to work around the issue of having to have unique page names in the same space.

https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?hosting=cloud&tab=overview 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events