text area bg image hidden by something

Hello everyone,

I want to include a "DRAFT" logo on all pages of my PDF exports.

Everything works fine, the logo is there and I can see it in the header and footer area.
The problem is that in the main page area it is not visible because some kind of background color is on top of it.

What is that and how can I replace it?
I am basically searching for an HTML element and the CSS definition for a white background that is somewhere defined in the standard layout.

I tried "wiki-content" and "main-content" and "background: green/red/transparent" but none of it had any effect.


This is how the DRAFT logo is included:

@page {  

  1. /* DRAFT-Logo */  
  2. background-imageurl(/download/attachments/55651017/DRAFT.png);  
  3.  }

And this is how the exported PDF looks like (for demonstration I used some small image that tiles nicely)

2017-02-14 12_37_52-teamcs-deviceCONFIGURATOR-Exportdatei-140217-1222-42.pdf - Adobe Acrobat Pro.png

1 answer

>> Maybe try to find out which element is adding the white background and style that as transparent?

Okay, every question can be misunderstood wink
What you are proposing is exactly what I did so far. I tried to find that element. And if I found it, I would remove the background. All that is clear.

My problem is I don't know what that element is and I was hoping someone had an idea.

 

>> Alternatively create a pseudo element on #page::after and give it a z-index to sit it above the content?

I am not sure if that would work. That logo should be behind the content, imagine a watermark. It should have all the content (text, images, tables, ...) on top of it, but it should be visible in the background and not be completely covered by something (which I am trying to find out what it is).

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

373 views 20 10
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you