
Top Bar Notification & Sticky Banners
by wp-centrics on WordPress.org
Add sticky top and bottom bars with multiple banners: text banners with optional buttons/CTAs, or responsive images.

Homepage with top and bottom bar
Add sticky top and bottom bars with multiple banners
Top Bar Notification & Sticky Banners is the most flexible and configurable, yet simple, plugin for displaying bars at the top or bottom of your site. Easily add promotions, announcements, messages, or banners to your site for your visitors.
Compatible with most themes, it includes 7 different sticky methods. Add image banners, announcements, and messages. Easily create your own styles with its built-in style editor using your own fonts.
⚡Demo here: Run live preview
🚀 Powerful & easy to use
- Top and bottom bars: with unique or multiple banners on each, dismissible or not at your convenience.
- Unlimited banners: When there is more than one banner per bar, they run animated.
- Optional dismiss: Each bar can have a dismiss button, stored in a cookie only in this case.
- Automatic font detection: Use your theme fonts directly in your banner styles.
- Banner preview mode: After installation, adjust everything and preview all on the front end while logged in as an admin. Bars remain hidden from other users until you switch to real mode.
✅ Highly theme compatible & configurable
- Configurable sticky behavior with 7 modes: Always visible, only at the top, scroll-based reactions, and more.
- Wide range of configurable options: Adjust plugin behaviors, fonts, embed CSS, fine-tuning, speed variables, and more.
- Highly theme compatible: Includes a custom script to prevent overlapping between the sticky top bar and your sticky theme header (optional, with three distinct modes).
- Use your own shortcode: Add any shortcode inside the banner content, it will be replaced.
❤️ WYSIWYG styles & banner edition
- User-friendly style editor: Create unlimited bar styles with live WYSIWYG previews directly in the wp-admin side.
- Flexible banner content: Add responsive image banners or text banners with or without a CTA button, with your custom styles in each. Live preview.
🏁 Lightweight
- Coded for performance: Built-in CSS compiler+minifier: one minfied CSS file.
- Minimal footprint: Unique 5 KB JavaScript file & lightweight banner HTML.
- No more embeds: Use your own fonts: no extra fonts embed.
- Only when requested: Only embedded when some bar is displayed.
🔍 Auto-detection of your own fonts
- Out of the box, Top Bar Notification & Sticky Banners plugin will auto-detect your theme fonts. It will be available in the style editor.
- You can force re-detection in Top Bar NSB > Settings > Fonts.
- You can force admin font load for accurate preview.
- You can add fonts that auto-detect can’t see.
- However, you can’t use this plugin to add new fonts in your website.
🍭 Use your own CSS
There is more than one way to customize:
1. You can add a custom class on each banner.
2. You can add inline-styles on each style edition page (with live preview)
3. You can add your own CSS in the advanced settings
🔨 Shortcodes for responsive
Use this shortcodes in the banner content editor:
[topbarnsb-desktop] (your desktop image or text content) [/topbarnsb-desktop]
[topbarnsb-mobile] (your mobile image or text content) [/topbarnsb-mobile]
…in any banner you need.
✅ Ready for Advanced users & Theme developers
Template system with overrides for theme developers: override whole plugin CSS, banner style CSS or the banner HTML as you need.
To do it, copy the plugin /templates folder into your theme, and rename the folder to /topbarnsb. Then edit the files as you need.