How to add a space-wide banner
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 site-wide banner
- Go to the space that requires the banner.
- Access the space layout menu as described in our Customising Space Layouts documentaiton
- Click 'Create Custom' for 'Main Layout' under the 'Decorator'.
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;"> ...YOUR MESSAGE GOES HERE... </div>
- Click 'Save'.