Marquee

Add scrolling text to your page.

View demo

Usage

The Marquee block adds horizontally scrolling text to your site β€” useful for announcements, updates, or emphasizing important details. Text repeats automatically for a seamless loop.

Customize the message, scroll speed, vertical padding, visual style, and semantic HTML tag from the sidebar.

Text

Enter the content in the Text field (sidebar or inline). The block duplicates your string to fill the scroll area.

  • Add a separator such as β€’ or | at the end so repetitions read clearly
  • If gaps appear between loops, extend the string manually β€” the default includes a trailing bullet (I am your marquee β€’ )

Only the first repetition is exposed to screen readers and search snippets; duplicates are marked aria-hidden for accessibility.

Options

  • Speed β€” controls animation duration in seconds. Lower values scroll faster; higher values slow the movement down.
  • Padding β€” vertical spacing above and below the text in rem
  • Style β€” Customizer typography preset (h1–h6, paragraph, bold). Changes appearance only.
  • Tag β€” semantic HTML element (h1–h6 or p). Changes structure and accessibility, not visual style.

Style and tag are independent β€” match them for predictable results, or mix intentionally when you need semantic hierarchy with a different visual treatment.

Block width

Marquee supports Wide and Full alignment from the block toolbar (default is wide). Full-width marquees span the viewport edge to edge.

Tips

  • Keep messages short β€” scrolling works best for punchy phrases, not paragraphs.
  • Test speed at mobile widths; what feels slow on desktop may read fine on a phone.
  • Pair with a Hero or Logos band above or below for event or sponsor announcements.

Screenshots

Front-end

  • Full-width marquee between a hero photo and a two-column text section on the home page.

Editor

  • Text and Duration factor settings β€” duplicated message string and scroll speed in the sidebar.
  • Style and Tag presets β€” visual typography vs semantic heading level for the scrolling line.

Settings

Settings

Text setting in the block editor sidebar
Text

Marquee message, automatically duplicated to fill the scroll area. Add a separator (β€’ or |) between repetitions.

Duration factor setting in the block editor sidebar
Duration factor

Animation duration in seconds. Lower values scroll faster; higher values slow the marquee down.

Padding setting in the block editor sidebar
Padding

Vertical spacing above and below the scrolling text in rem units.

Style setting in the block editor sidebar
Style

Customizer typography preset for visual appearance (h1–h6, paragraph, bold). Does not change the underlying HTML tag.

  • <h1>
  • <h2>
  • <h3>default
  • <h4>
  • <h5>
  • <h6>
  • <p>
  • <strong>
Tag setting in the block editor sidebar
Tag

Semantic HTML tag for the scrolling text (h1–h6 or p). Affects accessibility and SEO, not visual style.

  • <h1>
  • <h2>
  • <h3>default
  • <h4>
  • <h5>
  • <h6>
  • <p>