I am not a developer or programer however, I have been trying to play around with the pdf stylesheet and cannot get it working as I would like it.
I am trying to place an image within the header and footer on all pages that are exported however, with the code below. I am only getting it on the first page. Any ideas?
on the @bottom-right. If I remove the background-image within that section. the page counter displays on every page. However, when having it there. It only appears on the first page...
@pagetTeng
{
@Top-center
{
background-image: url("download/thumbnails/888766476/Artboard2%20(2).png?api=v2");
height: 250px;
width: 100%;
}
@bottom-right
{
content: "Page " counter(page);
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 8pt;
background-image: url("download/thumbnails/888766476/Artboard2%20(2).png?api=v2");
height: 250px;
width: 100%;
}
}
Hi @Ted Lin , thanks for the post. Had you also checked the answer provided in this post which covered a similar topic?
Additionally, had you considered using a Marketplace app to achieve the formatting for your PDF exports? We (K15t) develop Scroll PDF Exporter which comes with a built in template editor that makes it easy for non-programmers/developers to achieve the required formatting for their exports. If you're interested you can read more here and can trial the app for free from the Atlassian Marketplace listing.
Hope this information helps.
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.