Forums

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

Confluence Page - PDF Export - PDF Stylesheet

shruthi sj
Contributor
May 25, 2018

I am trying to add header and footer to my pdf below is my code.

but the problem is image and initial page doesn't have space and also i would like to get my content (header) below the image which is not happening now.

@page
{
@top-right
{
background-image:url(/download/attachments/255066264/test.png?api=v2);
background-repeat:no-repeat;
background-position:left;
content: "Engineering Requirements Document";
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 16pt;
padding-top: 10px;


}
@bottom-center
{
content: "CTO-XXXXX-1.0" counter(page);
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 8pt;
}
}

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 29, 2018

Shruthi,

Can you please clarify with us what your problem is exactly? When you say it doesn't have space, what does that mean? Can you illustrate?

In addition, your header will always be at the top. Can you tell me what you mean when you say you want it below an image? 

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events