Skip to main content

Highlighted Text

Live preview of the Highlighted Text element in the Salient WordPress theme. A heading with a hand-drawn squiggle drawing itself under its last word. Sample content, for demonstration only.

The Highlighted Text element draws an animated emphasis mark on chosen words as they scroll into view. Depending on the style, that mark is a marker-pen sweep behind the words, an underline that draws itself, an outlined typeface, or a hand-drawn scribble that circles or strikes through the text.

You write a normal block of text and mark the words to emphasize with italics. Everything in italics gets the treatment, and the rest stays as it is. That keeps the element usable for a full heading rather than only a single word.

It suits:

  • Headlines where one phrase carries the message
  • Landing-page hero copy
  • Pull quotes and section intros
  • Any place a plain bold or colored word is not enough

Usage​

  1. Add the Element: In the Salient WPBakery page builder, click Add Element and choose Highlighted Text.
  2. Write Your Text: Enter the full line in Text Content.
  3. Mark the Words: Italicize the words you want highlighted. Anything in italics receives the animated mark.
  4. Pick a Style: Choose the highlight style. The options that appear below it depend on this choice.
  5. Set the Colors and Timing: Choose the highlight color, then adjust the animation delay so the mark lands after the text has settled rather than competing with it.

Options​

Style Choice​

The kind of emphasis drawn. Each style exposes its own thickness and color options below.

StyleMark
Full Text BG CoverA marker-pen block sweeps behind the words.
Fancy UnderlineA thicker, stylized underline.
Regular UnderlineA plain underline that draws itself.
Text OutlineThe words render as outlines rather than solid type.
Hand-Drawn ScribbleA rough, hand-drawn shape around or through the words.
NoneNo highlight. The text renders normally.
  • Text Content Text The full block of text. Wrap the words you want highlighted in italics; use the editor's italic button rather than typing markup.
  • Text Color Color The color of the text itself, independent of the highlight.
  • Highlight Color Color The color of the mark. Left blank, it falls back to a desaturated variant of your theme accent color, which is usually the right answer: a full-strength accent behind body text tends to overpower it.
  • Highlight Color #2 Color A second color, used to draw the highlight as a gradient between the two.
  • Highlight Color Expansion Choice Adjusts how far the highlight extends around the text, so the mark sits correctly against your particular font and size rather than clipping the letters or floating away from them.
  • Underline Thickness Choice The weight of the line for the Regular Underline style.
  • Outline Thickness Choice The stroke weight for the Text Outline style.

Scribble Settings​

These apply to the Hand-Drawn Scribble style.

  • Scribble Type Choice The shape drawn: a circle around the words, an underline, a strike-through and similar hand-drawn marks.
  • Scribble Shape Color Color The color of the scribble itself.
  • Highlighted Text Inherits Scribble Color Toggle Recolors the highlighted words to match the scribble, tying the two together instead of leaving the mark as a separate color.
  • Scribble Thickness Choice Thin, Regular or Thick.

Scribble Speed Choice​

How long the drawing animation takes.

SpeedDuration
Slow1.8s
Medium1.3s
Fast0.8s
No Animation0s. The shape is present from the start, with no drawing animation

Scribble Easing Choice​

The acceleration curve of the drawing: Ease In Out or Ease Out.

Animation & Typography​

  • Animation Delay Number A delay in milliseconds before the highlight animates, for example 150. Use it to let the heading arrive first, then the mark, and to stagger several highlights on one screen so they do not all fire at once.
  • Disable Animation on Mobile Toggle Draws the highlight without animating it on phones.
  • Custom Font Size NumberResponsive. Set a different value for desktop, tablet and phone. Text size for the block.
  • Custom Line Height Number Overrides the line height. Worth checking on multi-line highlighted text. The mark needs a little more room than plain type.
  • Text Direction Choice Sets the text direction for right-to-left languages.
  • Highlight ID Text Adds an ID to the highlighted word so you can target it from CSS or another element. With multiple highlights in one block, each ID gets a number appended in the form {id}-{number}.