Creative · Elementor

Styled Text Builder widget for Elementor

One text block with per-span styling and motion, instead of several heading widgets.

Open live demo

Get King Addons

This page describes the PHP/JS for this widget — not a renamed stub. Install the free plugin from WordPress.org.

Get King Addons

What it actually does

One text block with per-span styling and motion, instead of several heading widgets.

render() writes HTML data attributes: data-effect, data-spoiler-desktop, data-spoiler-mobile, data-typing-cursor, data-typing-delay, data-typing-loop, data-typing-speed.

Some inspector controls are marked Pro in PHP (eicon-pro-icon / king-addons-pro-control). Those need King Addons Pro, not Elementor Pro.

The widget script reads data attributes: data-effect.

How to add it in Elementor

  1. Install King Addons. Install Elementor and King Addons. Get King Addons from WordPress.org.
  2. Edit with Elementor. Open a page and click Edit with Elementor.
  3. Insert the widget. Search the panel for “Styled Text Builder”. Typing “king” lists every King Addons widget.
  4. Set inspector controls from this widget’s PHP. Configure “Type of content”, “Typography”, “Color”, “Background”. Style and Content tabs are listed on this page.

When to use it

Tip: After King Addons is active, type king in the Elementor search box to list every widget, including Styled Text Builder.

Inspector controls from this widget’s PHP

ControlWhat the code does
kng_styled_txt_content_items — Type of contentOptions: Text; Image.
kng_styled_txt_content_items — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} {{CURRENT_ITEM}}.king-addons-styled-text`.
kng_styled_txt_content_items — ColorWrites CSS `color` onto the widget’s front-end markup.
kng_styled_txt_content_items — BackgroundElementor background group: classic color/image or gradient on the selector. Selector: `{{WRAPPER}} {{CURRENT_ITEM}}.king-addons-styled-text`.
kng_styled_txt_content_items — Custom Vertical AlignSwitcher inspector control (`kng_styled_txt_custom_vertical_align`).
kng_styled_txt_content_items — Vertical AlignWrites CSS `vertical-align` onto the widget’s front-end markup. Options: baseline; top; bottom; sub; super; text-top; text-bottom; middle.
kng_styled_txt_content_items — Custom PaddingSwitcher inspector control (`kng_styled_txt_padding_switcher`).
kng_styled_txt_content_items — PaddingWrites CSS `padding` onto the widget’s front-end markup.
kng_styled_txt_content_items — Custom MarginSwitcher inspector control (`kng_styled_txt_margin_switcher`).
kng_styled_txt_content_items — Margin LeftWrites CSS `margin-left` onto the widget’s front-end markup.
kng_styled_txt_content_items — Margin RightWrites CSS `margin-right` onto the widget’s front-end markup.
kng_styled_txt_content_items — Custom BorderSwitcher inspector control (`kng_styled_txt_custom_border`).
kng_styled_txt_content_items — BorderElementor border group: type, width, color, and radius when the group includes it. Selector: `{{WRAPPER}} {{CURRENT_ITEM}}.king-addons-styled-text`.
kng_styled_txt_content_items — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
kng_styled_txt_content_items — Custom WidthSwitcher inspector control (`kng_styled_txt_custom_width_switcher`).
kng_styled_txt_content_items — Width (px)The custom width of the current content item is useful for creating multiline text snippets or limiting the image size.
kng_styled_txt_content_items — Margin TopWrites CSS `margin-top` onto the widget’s front-end markup.
kng_styled_txt_content_items — Margin BottomWrites CSS `margin-bottom` onto the widget’s front-end markup.
kng_styled_txt_content_items — Text EffectOptions: None; Text Gradient; Underline Gradient; Outline Stroke; Spoiler / Thanos Snap %s; Typing Text %s.
kng_styled_txt_content_items — Reveal on DesktopOptions: Hover; Hover + Click (Remove); Click.
kng_styled_txt_content_items — Reveal on MobileOptions: Tap; Hover; Hover + Tap (Remove).
kng_styled_txt_content_items — Spoiler Dots ColorColor written to this widget’s CSS selector.
kng_styled_txt_content_items — Spoiler OpacitySpacing/size control (min 0.1, max 1).
kng_styled_txt_content_items — Animation Speed (s)Spacing/size control (min 0.5, max 5).
kng_styled_txt_content_items — Typing Speed (ms)Numeric control (default 80, min 10, max 500).
kng_styled_txt_content_items — Loop Delay (ms)Numeric control (default 1200, min 0, max 10000).
kng_styled_txt_content_items — Loop TypingSwitcher inspector control (`kng_styled_txt_typing_loop`).
kng_styled_txt_content_items — CursorText inspector control (`kng_styled_txt_typing_cursor`).
kng_styled_txt_content_items — Text ColorWrites CSS `color` onto the widget’s front-end markup.
kng_styled_txt_content_items — Stroke ColorColor written to this widget’s CSS selector.
kng_styled_txt_content_items — Stroke Width (px)Numeric control (default 1, min 1).
kng_styled_txt_content_items — Background (Kng Styled Txt Effect Gradient)Elementor background group: classic color/image or gradient on the selector. Selector: `{{WRAPPER}} {{CURRENT_ITEM}}.king-addons-styled-text .king-addons-styled-text-inner`.
kng_styled_txt_content_items — Background (Kng Styled Txt Underline Effects Gradient)Elementor background group: classic color/image or gradient on the selector. Selector: `{{WRAPPER}} {{CURRENT_ITEM}}.king-addons-styled-text .king-addons-styled-text-inner`.
kng_styled_txt_content_items — Vertical Position (%)Writes CSS (background-position, background-repeat) onto the widget’s front-end markup. (min 0, max 100).
kng_styled_txt_content_items — Height (%)Writes CSS `background-size` onto the widget’s front-end markup. (min 0, max 100).
kng_styled_txt_content_items — Height on mouse hover (%)Writes CSS (king-addons-styled-text-inner, background-size) onto the widget’s front-end markup. (min 0, max 100).
kng_styled_txt_content_items — TextTextarea inspector control (`kng_styled_txt_content`).
kng_styled_txt_content_items — ImageMedia Library attachment(s); render() uses the URL/ID as the image source.
kng_styled_txt_content_items — Image SizeElementor image-size group (thumbnail, medium, large, full, custom).
kng_styled_txt_content_items — Width (px) (Kng Image Comparison Box Max Width)Writes CSS `width` onto the widget’s front-end markup. (default 50, min 0).
kng_styled_txt_content_items — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} {{CURRENT_ITEM}}.king-addons-styled-text img`.
kng_styled_txt_content_items — Border (Kng Styled Txt Image Border)Elementor border group: type, width, color, and radius when the group includes it. Selector: `{{WRAPPER}} {{CURRENT_ITEM}}.king-addons-styled-text img`.
kng_styled_txt_content_items — Border Radius (Kng Styled Txt Image Border Radius)Writes CSS `border-radius` onto the widget’s front-end markup.
kng_styled_txt_content_items — Custom Vertical Align (Kng Styled Txt Image Custom Vertical Align)Switcher inspector control (`kng_styled_txt_image_custom_vertical_align`).
kng_styled_txt_content_items — Vertical Align (Kng Styled Txt Image Vertical Align)Writes CSS `vertical-align` onto the widget’s front-end markup. Options: baseline; top; bottom; sub; super; text-top; text-bottom; middle.
kng_styled_txt_content_items — Custom Margin (Kng Styled Txt Image Margin Switcher)Switcher inspector control (`kng_styled_txt_image_margin_switcher`).
kng_styled_txt_content_items — MarginWrites CSS `margin` onto the widget’s front-end markup.
kng_styled_txt_content_items — Custom CSS ClassSwitcher inspector control (`kng_styled_txt_custom_css_class_switcher`).
kng_styled_txt_content_items — CSS ClassText inspector control (`kng_styled_txt_custom_css_class`).
kng_styled_txt_content_items — TransformSwitcher inspector control (`kng_styled_txt_transform_switcher`).
kng_styled_txt_content_items — RotateWrites CSS (transform, display) onto the widget’s front-end markup. (default 0, min -360, max 360).
kng_styled_txt_content_items — Offset XWrites CSS (transform, display) onto the widget’s front-end markup. (min -100, max 100).
kng_styled_txt_content_items — Offset YWrites CSS (transform, display) onto the widget’s front-end markup. (min -100, max 100).
kng_styled_txt_content_items — LinkSwitcher inspector control (`kng_styled_txt_link_switcher`).
kng_styled_txt_content_items — Link (Kng Styled Txt Link)Elementor URL control (href, new tab, nofollow) applied to a front-end link.
Content — Kng Styled Txt Content ItemsRepeater rows; render() loops each item to build the list or slides.
Common Styles — Item TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-styled-text`.
Common Styles — Item Text ColorWrites CSS `color` onto the widget’s front-end markup.
Common Styles — Content AlignWrites CSS `text-align` onto the widget’s front-end markup. Options: Left; Center; Right.
Common Styles — Item MarginWrites CSS `margin` onto the widget’s front-end markup.
Common Styles — Item PaddingWrites CSS `padding` onto the widget’s front-end markup.
Wrapper Tag Settings — HTML TagThe chosen value is read in render() and applied on the front end. Options: div; h1; h2; h3; h4; h5; h6; section….
Wrapper Tag Settings — Tag TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-styled-text-builder-items`.
Wrapper Tag Settings — Tag ColorWrites CSS `color` onto the widget’s front-end markup.
Wrapper Tag Settings — Tag PaddingWrites CSS `padding` onto the widget’s front-end markup.
Wrapper Tag Settings — Tag MarginWrites CSS `margin` onto the widget’s front-end markup.

Content and Style tabs from this widget’s PHP, including repeater fields and group controls (typography, background, border, shadow). Elementor’s Advanced tab is core Elementor and is not listed here.

FAQ

Which Styled Text Builder options need King Addons Pro?

Controls marked with the Pro icon in this widget’s PHP. King Addons Pro is a separate license from Elementor Pro.

How do I add Styled Text Builder in Elementor?

Install King Addons and Elementor, edit a page, search the panel for “Styled Text Builder”, drag it onto the canvas, then set Content and Style.

Do I need Elementor Pro?

No. King Addons runs on free Elementor. Some King Addons options (for example template-in-accordion, extra popup conditions, parts of the template catalog) need King Addons Pro — not Elementor Pro.

Related creative widgets

Get King Addons

One free plugin. 80+ Elementor widgets, 650+ templates, and 4,000+ sections. Search for Styled Text Builder after you activate it.

Get King Addons