← All widgetsWidget 154 · emcp_custom_154

Alert Box

Elementor widget18 layouts18 content options22 style options5 panel sections

Built with the EMCP Widget Builder and registered under the EMCP Custom category of the Elementor panel. Search the panel for: alert, notice, banner, cookie, gdpr, toast, announcement.

Setup guide

  1. Open a page in Elementor, search the panel for Alert Box and drag it into a container.
  2. Content › Alert: Type, Title, Message, Icon, Button Text, Button Link (empty = dismiss), Secondary Link Text, Secondary Link.
  3. Content › Layout & Behaviour: Layout, Style, Icon Style, Dismissible, Remember Dismissal (days, 0 = session only), Storage Key, Show After (ms), Auto Hide After (ms, 0 = never) and 2 more.
  4. Pick a Layout: Inline (in the page flow), Inline banner (single row), Fixed bar, top of viewport, Fixed bar, bottom of viewport, Toast, bottom right, Toast, bottom left, Toast, top right. Each one is shown below.
  5. Style tab sections: Box, Text & Icon, Buttons. Colours, typography and spacing set here are scoped to this widget instance.
  6. Publish. Every option is a standard Elementor control, so it responds to the editor, dynamic tags and global styles as usual.
Conditional options: Remember Dismissal (days, 0 = session only) appears when Dismissible is yes; Storage Key appears when Dismissible is yes; Push Page Content (fixed top bar) appears when Layout is top.
Ships with its own JavaScript; it runs once per instance and re-initialises inside the Elementor editor preview.
Layout

Inline (in the page flow)

Layout = inline

Heads up

We use cookies to improve your experience. By continuing you agree to our cookie policy.

Layout

Inline banner (single row)

Layout = banner

Order confirmed

Your order #1042 is on its way.

Layout

Fixed bar, top of viewport

Layout = top · fixed to the viewport, so it is not demoed inline; try it on a test page.

Layout

Fixed bar, bottom of viewport

Layout = bottom · fixed to the viewport, so it is not demoed inline; try it on a test page.

Layout

Toast, bottom right

Layout = toast-br · fixed to the viewport, so it is not demoed inline; try it on a test page.

Layout

Toast, bottom left

Layout = toast-bl · fixed to the viewport, so it is not demoed inline; try it on a test page.

Layout

Toast, top right

Layout = toast-tr · fixed to the viewport, so it is not demoed inline; try it on a test page.

Type

Info

Type = info

Cookies

We use cookies to improve your experience. By continuing you agree to our cookie policy.

Type

Success

Type = success

Cookies

We use cookies to improve your experience. By continuing you agree to our cookie policy.

Type

Warning

Type = warning

Cookies

We use cookies to improve your experience. By continuing you agree to our cookie policy.

Type

Danger

Type = danger

Cookies

We use cookies to improve your experience. By continuing you agree to our cookie policy.

Type

Dark

Type = dark

Cookies

We use cookies to improve your experience. By continuing you agree to our cookie policy.

Type

Neutral

Type = neutral

Cookies

We use cookies to improve your experience. By continuing you agree to our cookie policy.

Style

Soft tint

Style = soft

Cookies

We use cookies to improve your experience. By continuing you agree to our cookie policy.

Style

Solid

Style = solid

Cookies

We use cookies to improve your experience. By continuing you agree to our cookie policy.

Style

Outline

Style = outline

Cookies

We use cookies to improve your experience. By continuing you agree to our cookie policy.

Style

White with accent border

Style = accent

Cookies

We use cookies to improve your experience. By continuing you agree to our cookie policy.

Style

Minimal

Style = minimal

Cookies

We use cookies to improve your experience. By continuing you agree to our cookie policy.

Options reference

Every control the widget exposes, grouped by panel section. Names in code are the setting keys used by the MCP tools (add-free-widget, update-widget).

Content tab

Alert

OptionTypeChoices / rangeDefaultNotes
Type
type
DropdownInfo, Success, Warning, Danger, Dark, Neutralinfo
Title
title
TextHeads up
Message
message
Rich textWe use cookies to improve your experi...
Icon
icon
Iconfas fa-info-circle
Button Text
btn_text
Text
Button Link (empty = dismiss)
btn_link
Link
Secondary Link Text
btn2_text
Text
Secondary Link
btn2_link
Link

Layout & Behaviour

OptionTypeChoices / rangeDefaultNotes
Layout
layout
DropdownInline (in the page flow), Inline banner (single row), Fixed bar, top of viewport, Fixed bar, bottom of viewport, Toast, bottom right, Toast, bottom left, Toast, top rightinline
Style
style
DropdownSoft tint, Solid, Outline, White with accent border, Minimalsoft
Icon Style
icon_style
DropdownPlain, In a circle, Hiddenplain
Dismissible
dismissible
Toggleon / offyes
Remember Dismissal (days, 0 = session only)
remember
Numbermin 0, max 3650Shown when dismissible = yes
Storage Key
storage_key
TextChange it to show the alert again after editing its text.. Shown when dismissible = yes
Show After (ms)
delay
Numbermin 0, max 600000
Auto Hide After (ms, 0 = never)
auto_hide
Numbermin 0, max 1200000
Entrance
anim
DropdownFade, Fade up, Slide in, Nonefade-up
Push Page Content (fixed top bar)
push_body
Toggleon / offShown when layout = top

Style tab

Box

OptionTypeChoices / rangeDefaultNotes
Accent Override
accent
Color
Background Override
bg
Color
Padding
pad
Dimensions
Border
border
Border
Radius
radius
Slidermin 0, max 60, px12
Shadow
shadow
Box shadow
Max Width (toast / inline)
maxw
Slidermin 240, max 1200, px420
Viewport Offset (fixed layouts)
offset
Slidermin 0, max 120, px24
Z-index (fixed layouts)
zindex
Numbermin 1, max 999999999

Text & Icon

OptionTypeChoices / rangeDefaultNotes
Title Typography
title_typo
Typography
Title Color
title_color
Color
Message Typography
msg_typo
Typography
Message Color
msg_color
Color
Icon Size
icon_size
Slidermin 12, max 64, px22
Icon Color
icon_color
Color
Close Button Color
close_color
Color

Buttons

OptionTypeChoices / rangeDefaultNotes
Button Typography
btn_typo
Typography
Button Text
btn_color
Color
Button Background
btn_bg
Color
Button Hover Background
btn_bg_h
Color
Button Radius
btn_radius
Slidermin 0, max 60, px8
Secondary Link Color
btn2_color
Color

Add it with the MCP tools

Any connected agent can place this widget: call add-free-widget with widget_type: "emcp_custom_154" and a settings object using the keys above. Run get-custom-widget with id 154 for the full JSON spec.