How to add a space-wide banner

Still need help?

The Atlassian Community is here for you.

Ask the community

This guide is for informational purposes and is not eligible for support from Atlassian.  If you have any questions about the information on this page, please reach out to our community at Atlassian Answers for help. 


Confluence and space administrators may want to add a space-wide message to users.


Confluence and space administrators can add a space-wide banner by making a change to the Main Layout. This message will appear at the top of every page in the modified space.

Screenshot: Example of a space-wide banner 

To add a space-wide banner

  1. Go to the space that requires the banner.
  2. Access the space layout menu as described in our Customizing Space Layouts documentation
  3. Click 'Create Custom' for 'Main Layout' under the 'Decorator'.
  4. Add the following code just before the </head> tag, which is the end of the HTML head section.

    <!-- Message Banner -->
    <div style="background-color: yellow; border: 2px solid red; margin: 4px; padding: 2px; font-weight: bold; text-align: center;">
  5. Click 'Save'.


Changing the Look and Feel of Confluence

Last modified on Apr 14, 2022

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.