Forums

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

Confluence Page PDF Export Header - global style

Paul Cooper
Contributor
March 6, 2021

I am in the Global PDF Stylesheet section and want to insert company logo at top-left of each PDF page exported. I have configured text to display at top-left and top-right together without issue but now want to  change top-left to be a logo but am struggling to find the right set up. The log will not present itself in the pdf header.

I have tried a range of logo sizes and tried jpg and png.

My script is below, any advice much appreciated. 

@page
{
margin: 0.5in;
padding: 1em;
@Top-left
{
<div style="margin-top: 10.0mm;">
<img src="https://zeettanetworks.atlassian.net/wiki/download/attachments/1533378660/Logo+and+name+transparent+v7.jpg" />
</div>
}
@Top-right
{
content: "Zeetta Networks Ltd - Commercial in Confidence";
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 10pt;
}

1 answer

1 vote
Vero Rivas
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.
March 6, 2021
Paul Cooper
Contributor
March 7, 2021

Thank you Luis, I studied these guides and a couple of other sites on the internet. The pdf export header set up is quite strange in implementation.

 

The global template supports some things and not others and has more functionality when exporting a space.

The space set up for pdf exports is for page exports.

 

i can’t get either to put a logo in the off export, I have noticed that when trying to get a logo to display from the attachments section peculiar things are happening so I need to look more into this.

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