Configuration

Pin a ticker to the top or bottom of every pageFree

How to show a saved ticker as a bar that stays at the top or bottom of the screen on every page, set its order, devices and close button.

On this page

A sticky bar shows one of your saved tickers at the top or bottom of the screen on every page. You do not add a block or a shortcode for it. Available from version 1.1.0 of the free plugin.

See sticky bars on the demo site

Before you start#

A bar needs a saved ticker. If you have none yet, create one first under WPMozo Product Ticker → Add New Ticker (see How to use).

Add a bar#

  1. Go to WPMozo Product Ticker → Settings and open the Sticky bars tab.
  2. Click Add a bar to the top or Add a bar to the bottom.
  3. Under Ticker, choose the saved ticker the bar should show. A bar does not show until a ticker is chosen.
  4. Click Save changes.
Sticky bars tab with two bars at the top of the page, one at the bottom and the preview

Settings of a bar#

Click the arrow at the right of a bar to open its settings.

  • Show this bar (the switch at the left of the row): turns the bar on or off without removing it.
  • Ticker: the saved ticker the bar shows. Edit this ticker’s design opens that ticker in the editor.
  • Show on: All devices, Desktop, or Mobile. Mobile means screens narrower than 768px.
  • Visitors can close it: adds a × button to the bar. A closed bar stays hidden for that visitor until you change the bar.
  • Remove bar: deletes the bar. The ticker itself is not deleted.
Open sticky bar with the Ticker, Show on and Visitors can close it settings

Order and position#

  • Drag a bar by the handle at its left to change the order. You can also focus the handle and use the arrow keys.
  • At the top, the first bar in the list sits at the very top of the screen. At the bottom, the last bar in the list sits at the very bottom.
  • Drag a bar from one list to the other to move it between the top and the bottom of the page.
  • The Preview on the right shows the stack for Desktop and Mobile, so you can see which bars show at each screen size.
Store page with two ticker bars fixed at the top and one at the bottom

If your theme has a fixed header#

The plugin adds space at the top and bottom of the page equal to the height of the bars, so the bars never cover your content. A theme header that is itself fixed to the top of the screen can still sit under the top bars. To move it down, use the CSS variable the plugin sets on the page. Add this to Appearance → Customize → Additional CSS (or the Site Editor’s Additional CSS), with your own header selector:

.site-header {
	top: var(--wpmozo-pt-sticky-top, 0px);
}

--wpmozo-pt-sticky-top holds the height of the top bars and --wpmozo-pt-sticky-bottom the height of the bottom bars.

When a bar does not show#

  • No ticker is chosen for the bar.
  • Its ticker was deleted or is disabled under All Tickers.
  • The bar is switched off, or it is set to Desktop or Mobile only and you are on the other screen size.
  • The visitor closed it. It shows again for them after you change the bar.

With the Pro add-on, each bar also has a Where & when panel: see Choose where and when a bar shows.

Was this article helpful?

Updated Nov 21, 2026

✕ Black Friday Popup Cyber Monday Popup