📌 Overview
Nenna allows administrators to display custom banners for logged-in users. Banners are persistent and can optionally be dismissed by users.
ℹ️ Tip: Banners are ideal for short-term, highly visible messages. Keep these concise and link to detailed information.
🎯 When banners should be used
Banners are best for short, highly visible notices such as:
- ✓ Scheduled maintenance and downtime
- ✓ Incident notifications (degraded performance, partial outages)
- ✓ Policy notices (terms of use, data handling)
- ✓ Major changes (new models, feature rollouts, UI changes)
- ✓ Links to internal communication channels for updates and questions
⚙️ Configuration
Admin Panel
This is the simplest way to manage banners:
Log in as an administrator
Navigate to Admin Panel → Settings → General
Look for the Banners section
Click the + icon to add a new banner
Configure the desired options
Click Save to apply the changes
⚡ Quick configuration in the Admin Panel:
- Type: info | success | warning | error
- Title: main heading of the banner
- Content: main message (HTML only)
- Dismissible: users can close the banner
🎨 Formatting and HTML support
Banners support HTML only — Markdown syntax is not rendered.
Supported text formatting
| HTML tag | Effect | Example |
|---|---|---|
<b> / <strong> | Bold | Important |
<i> / <em> | Italic | Note |
<u> | Underlined | Underlined text |
<code> | Monospace code | let x = 42; |
<mark> | Highlight | Highlighted |
<small> | Smaller text | Small details |
Structure and links
<br>— Line break<a href="..." target="_blank">— Clickable link<img src="..." width="16" height="16">— Inline image<details><summary>— Expandable section
Inline styles
Inline styles are possible on allowed tags:
Colored text Gradient background
⚠️ Not supported: headings (<h1>-<h6>), lists (<ul>, <ol>), tables, blockquotes, and Markdown syntax
⚡ Common issues and solutions
1) Unexpected spacing from line breaks
Banners treat real line breaks as
. If you paste formatted HTML with many breaks, the banner may become too large.
✓ Solution: Keep the raw HTML relatively compact. Use <br> deliberately.
2) Broken links
Use this exact pattern for links:
✓ Tips:
- Always close anchor tags with
</a> - Use
target="_blank"(with underscore) - Escape
&as&in URLs:?x=1&y=2
📋 Copy/paste patterns
Pattern 1: Minimal announcement with link
Notice
Service updates: Status page
Pattern 2: Compact label (date/impact tag)
Scheduled
Pattern 3: Expandable details
Scheduled update
More details
This update may cause brief interruptions during the deployment window.
🏆 Best practices
1) Keep banners scannable
A good banner consists of:
- Short heading
- One sentence describing the situation
- One or two links for further information
2) Use banner types consistently
info: general announcements
success: completed changes
warning: scheduled maintenance
error: active incidents
3) Remove expired banners
Remove or replace banners after the event. Too many banners lead to habituation and being ignored.
❓ Frequently asked questions
Can I use Markdown in banner content?
No. Banners only support HTML. Markdown syntax is not rendered.
How does dismissing work?
Dismissed banners are stored in the user's browser (client-side):
- A dismissed banner can come back if the user clears site data/cache
- Dismissal is per banner
id(if the ID changes, the banner is new) - Different devices/browsers have separate dismissal states
Can I show content in multiple languages?
Yes. You can include multiple languages in the content. For additional languages, use a <details> block:
English
This is the English version…
