Scrolling Text

A band of short phrases that moves with the page scroll, auto scrolls, or both, with symbol or image dividers, outlined text, and an optional colored, tilted band.

Scrolling Text renders a horizontal band of short phrases separated by a divider (a symbol or small images), the classic "marquee" strip for a row of services, values, or taglines. Motion options let it move with the page scroll, auto scroll on its own, or auto scroll that speeds up while the visitor scrolls. You can also color every other item, put the text on a colored band, and tilt the band.

A dark band of large scrolling text with star dividers, every other item outlined

Add it

In WPBakery, click Add Element and pick Scrolling Text from the Highend Shortcodes category. Or use the shortcode. See Shortcode.

Settings

ItemsTextitems

One item per line, without commas. Keep items short.

Text ColorColorcolor

Leave empty for the theme's default text color.

MotionSelectDefault: Moves with the page scrollmotion

Options: Moves with the page scroll, Auto scroll, Auto scroll, faster while scrolling. Browsers that can't move it with the page scroll auto scroll instead.

SpeedSelectDefault: Normalspeed

Options: Slowest, Slow, Normal, Fast.

DirectionSelectDefault: To the leftdirection

Options: To the left, To the right.

Pause on HoverCheckboxDefault: Offpause

Only shown when Motion is Auto scroll or Auto scroll, faster while scrolling.

DividerTextDefault: •separator

A symbol between items, for example •, ✦, ✳, ★ or /. Leave empty for a space.

Divider ImagesImagesseparator_images

Small images between the items, shown one after the other in place of the Divider symbol. They are sized to the text. With more items than images, the images repeat in order. They are decorative, so screen readers skip them.

Image ShapeSelectDefault: Circleseparator_shape

Options: Circle, Rounded square, Pill (wider than tall). Only shown when Divider Images are chosen.

Spin the DividerCheckboxDefault: Offspin

Turns the divider symbol or images with the page scroll, or continuously when auto scrolling.

Divider ColorColorseparator_color

Colors the divider symbol, not the divider images. Only shown when Divider isn't empty.

Space Around DividersTextDefault: 0.4gap

In em, relative to the font size.

Outline TextSelectDefault: Noneoutline

Hollow letters with only their outline drawn. Options: None, All items, Every other item.

Outline ThicknessTextDefault: 1.5outline_width

In pixels. Only shown when Outline Text isn't None.

Color Behind the TextColoroutline_behind

Hides lines some fonts show inside outlined letters. Leave empty to use the Band Color when one is set, or otherwise the section background. Set it when the text sits on an image. Only shown when Outline Text isn't None.

Every Other Item ColorColoralternate_color

Shows every second item in this color, for example dark text with every second item in your accent color. Combine it with Outline Text set to Every other item for outlined items in this color. The pattern carries on smoothly around the loop, also with an odd number of items.

Band ColorColorband_color

A strip of color behind the text, like a ribbon. Put the element in a full width row so the band reaches the screen edges.

TiltTexttilt

In degrees, from -15 to 15, for example -3. Turns the band (or the text, when there's no Band Color). Leave empty to keep it level. Values beyond 15 in either direction are limited to 15. The element makes room above and below for the raised and lowered ends of the band.

Tilted bands work best full width

A tilted band runs wider than its column so its ends stay out of sight. For the ribbon look, put Scrolling Text in a full width row, for example a row with Row stretch set to Stretch row and content (no paddings), and give it a Band Color.

Typography tab

Use Theme FontCheckboxDefault: Yesuse_theme_fonts

Uses the theme's font instead of the Google font below.

Google FontsFontgoogle_fonts

Pick a Google font. Only shown when Use Theme Font is off.

Font SizeTextDefault: 40font_size

In pixels.

Font Size on PhonesTextfont_size_phone

In pixels. The size scales smoothly from this size on phones to Font Size on desktops. Leave empty to pick it automatically when Fluid Typography is on in Highend Options > Typography.

Font WeightSelectDefault: Defaultfont_weight

Options: Default, 300, 400, 500, 600, 700, 800.

Letter SpacingTextletter_spacing

In em, relative to the font size, for example -0.02 or 0.05.

Text TransformSelectDefault: Defaulttext_transform

Options: Default, None, Uppercase, Lowercase, Capitalize.

Common settings

Scrolling Text also has an Extra class name field. See the Elements overview. It has no Entrance Animation or Entrance Delay fields.

Shortcode

[hb_marquee items="Brand identity,Websites,Digital products,Campaigns" motion="both" speed="fast" separator="✦" outline="alternate"]

A tilted band with image dividers and every other item in a second color:

[hb_marquee items="Cut,Color,Style,Care" separator_images="12,34" separator_shape="pill" alternate_color="#c8553d" band_color="#161514" color="#ffffff" tilt="-3"]

separator_images takes the IDs of images from your Media Library, separated by commas.

In WPBakery, enter Items one per line; when writing the shortcode by hand you can separate them with commas instead.

On this page