Forums

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

Cannot have a logo in the header of an export to PDF

eric_podico
Contributor
September 20, 2019

I Cannot have a logo in the header of an export to PDF

also I read the docs and tried 3 hours long.

 

I tried the PDF style sheet 

 

@Top-center
{
styledimg {
background-image: url(/download/attachments/692553099/CORPID_LOGO_Attolight_RGB_2-small-442.png);
background-repeat: no-repeat;
}

 

I tries PDF Layout

 

<div class="fsTitlePage">
<img src="/download/attachments/780828775/CORPID_LOGO_Attolight_RGB_2-small-442.png" />
</div>

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 26, 2019

Hello Eric,

Happy to help you with this. I just want to clarify what you are trying to do. In your description, you said that you don't want to include logos in your export, but with your example, it looks like you are trying to include the logo in your header. Can you confirm that is the case?

When you customize the Space Export to PDF, then those changes are applied to the entire Space. Single page exports do not support adding HTML headers and footers via the PDF Layout page, but you can do a full space export and then only select the page you need:

  1. Choose Export
  2. Select either HTML, XML, or PDF, then choose Next
  3. Select the type of export:
    • Custom Export – Select the desired pages only.

See Advanced PDF Export Customizations for more information on how to do that.

An example of how this should look in your CSS:

<div style="margin-top: 10.0mm;">
        <img src="https://confluence.atlassian.com/download/attachments/12346/header-image.png" />
      </div>

In this example, we've used the full URL to the desired image. It could also be the case with yours that it's not able to find the exact attachment you require. Perhaps you can try that if my above suggestion doesn't help?

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events