Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Modifiy Header Footer Confluence Page

Hi, i have try to modify the html & css in confluence but nothing work i don't why 😥 i use this two url for test some kind of customization
This my code ==>
<div style="margin-top: 10.0mm;">
<img src="/download/attachments/1301020691/logo_novutech.jpg" />
<span id="pageNum"/>
Css :
content: counter(page);
is there anything I have forgotten ?
Thanks & Regards.

1 answer

0 votes
Pramodh M Community Leader Dec 22, 2021

Hi @Mathieu Pousset 

Include the Page Number from the Option "Include Page Number while exporting PDF"

and for the Image can you include the Source from the confluence link or any link accessible publicly, seems like you are giving the relative link.

Let me know if you have any queries


Hi Pramodh,


Yes i have see this option.

But i want the page number by defaut for everybody who export in pdf.

When he does that on the proper page :


What do you mean about link accessible ?

I have follow the note 

And normaly the image is accessible because it is on my confluence space, as you see in my previous screen i have add it on a page for that.
Thanks for your help.
Pramodh M Community Leader Dec 23, 2021

@Mathieu Pousset 

Try navigating to Space Administration UI and then export the Page using the Custom option, there you will get to select the Page Number Option.

Up to 50 Images are included while exporting, make sure you have fewer images while exporting the page to pdf.


@Pramodh M ,

The pdf export works and when I have images in my pages it works, it's not that my problem.
In fact I want to have a logo in the header and the page number in the footer by default.
Like a document template.
That's why I followed the two links I quoted above.

And it's for that i want modify this section :


Best Regards.




Any body know how can we modifiy Header Footer Confluence Page ?

With add an image and page number.


Best Regards.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

967 views 7 42
Read article

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