Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

402 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you