We are the WordPress Gurus
Highlight text effects: scroll, hover and underlines
On this page
Highlight Pro has four text effects. You can add each one with a shortcode, or with a button in the block editor toolbar.

| Effect | Short shortcode | Long shortcode | What the visitor sees |
|---|---|---|---|
| Highlight on scroll | [h-s]…[/h-s] | [highlight-scroll]…[/highlight-scroll] | The text is marked as it scrolls into view. |
| Hover effect | [h-h]…[/h-h] | [highlight-hover]…[/highlight-hover] | A background color appears when the mouse is over the text. |
| Vertical underline | [h-u-v]…[/h-u-v] | [highlight-underline-v]…[/highlight-underline-v] | A vertical underline effect appears on hover. |
| Horizontal underline | [h-u-h]…[/h-u-h] | [highlight-underline-h]…[/highlight-underline-h] | A horizontal underline effect appears on hover. |
Note
The effects only work while the master switch is on: Highlight Pro → Highlight Pro → Settings, first box.
Highlight on scroll
- Go to Highlight Pro → Highlight Pro → Settings.
- Tick Enabled Highlight on Scroll on.
- Choose a Highlight on Scroll effect Style:
- Background: a full marker-pen background.
- Half: a half-height marker highlight.
- Underline: a line under the text.
- Click Save Changes.
- Wrap your text in the shortcode, for example:
[h-s]This sentence will be highlighted[/h-s]

Use the copy button next to each shortcode box to copy it.
Tip
If you edit in HTML, you can also use the tag shown under Highlight on Scroll on text HTML tag: <mark class="highlight-scroll-effect">your text</mark>.
Hover and underline effects
Wrap a sentence or paragraph in the shortcode you want:
[h-h]Hover over this text to highlight it.[/h-h]
[h-u-v]This text gets a vertical underline.[/h-u-v]
[h-u-h]This text gets a horizontal underline.[/h-u-h]

Warning
The hover and underline effects are applied to a whole block (they are wrapped in a paragraph). Use them on a full sentence or paragraph, not on a word in the middle of a line.
Use the block editor buttons
In the block editor (Gutenberg) you can apply the effects without typing shortcodes:
- Select text in a Paragraph block.
- Open the More (down-arrow) menu in the block toolbar.
- Choose Highlight Scroll, Highlight Hover, Highlight Verticle Underline or Highlight Horizontal Underline.
Change the colors
- Go to Highlight Pro → Highlight Pro → Color Settings.
- Pick a Hover Background Color, Vertical Underline Color and Horigontal Underline Color.
- Click Save Changes.

If you leave a color empty, the plugin uses its default color.
Add your own CSS
The Custom CSS tab has a box for extra CSS rules, for example to change the scroll highlight color:
.highlight-scroll-effect { background-color: #ffe066; }Do not type <style> tags in this box. Only the CSS rules themselves.
Was this article helpful?
Sorry about that. Get help another way: