Line Highlight tints one or more lines inside a Syntax Highlighter code block, so a reader’s eye goes straight to the line that matters.

It is a single text field on the widget’s Options section, not a separate repeater control.

Requirement – This widget is a part of The Plus Addons for Elementor, make sure it’s installed & activated to enjoy all its powers.

Before You Start

  • Edition: Free — Syntax Highlighter ships in The Plus Addons for Elementor Free plugin.
  • Widget to enable: Syntax Highlighter, switched on under The Plus Addons > Widgets.
  • Deprecated: confirmed on the live Widgets screen – see the Settings Overview doc for detail.

Steps

  1. Add a Syntax Highlighter widget and enter your code in Source Code.
  2. Open the Options section and find Line Highlight.
  3. Type the line number(s) you want tinted into that field.
  4. Open Style > Line Highlight to set the highlight colour (or gradient) if the default doesn’t suit the page.
  5. Publish and check the front end.

Limitations

  • The exact syntax the Line Highlight field accepts (a single number, a comma list, a range like “3-5”, or a mix) was not independently re-tested on a rendered page this session – only the control’s existence, type (plain text) and section were confirmed via a fresh control extraction.

Troubleshooting

No line appears tinted

Confirm the Line Highlight field actually has a value, and that Style > Line Highlight’s colour is not the same colour as the code block’s own background.