Confluence Announcement Banner?

I use the Jira Announcement Banner (under Look and Feel) along with a different colour scheme to differentiate Test from Prod for our users.

The string I have in Jira is as follows:

<div class="global-warning" width="100%" align="center" <H1> <font color=#990000> JIRA2 (TEST)</div> </font> </H1>

Would someone please advise where/how I do the equivalent in Confluence? (I am running 4.1.6).

4 answers

1 accepted

This widget could not be displayed.

Hi Stuart,

As Andrew said, you can add this in your Custom HTML (to get there: Browse -> Confluence Admin -> Look and Feel -> Custom HTML), but please make to add it to the 'At beginning of the BODY' section.


This widget could not be displayed.


If you log in to Confluence as an administrator and select Browse -> Confluence Admin -> Look and Feel -> Custom HTML and insert your HTML string in the "At End of HEAD" section that will give you a global banner above the main breadcrumb navigation.

Hope that helps,


Hi Andrew,

Adding to the "End of HEAD" section is actually incorrect. The HEAD section is for metadata rather than rendered content. Instead, please use the "At beginning of the BODY".

For more information:

Joe Clark Atlassian Team Mar 06, 2013

Hey Andrew,

As Lachlan mentions, "At End of HEAD" actually means "within" the page header, which can't be used to display page layout elements such as a <div>. In light of this, I'm using my super-duper admin powers to un-mark this as the accepted answer and mark Lachlan's as accepted instead.

Mainly, we want to provide correct information for future readers of this question. Other than that, your answer is spot-on! :-)


This widget could not be displayed.

For banners via the out of the box functionality, the other posters have it spot on (make sure to put it at the top of the body as commenters have said.

However, if you would like to have an easier way to do this without touching HTML, look at this add-on: Its written by my company and we assist you in creating multiple types of banners with options for targeting specific audiences. 

Again, the original answer was good for out of the box functionality.


In Confluence 5.8 or upper,
You can use 'Announcement Banner for Confluence' a FREE app which mimics JIRA's announcement banner behaviour.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

505 views 7 6
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