Alert Message Shortcode

These are perfect for displaying important information, alerts or messages to your viewers. The options we include allow you to animate the box when it shows in the viewport, use font awesome icons, customize the colors, accent colors, border sizes and more.

[fusion_alert type=”general” accent_color=”” background_color=”” border_size=”1px” icon=”” box_shadow=”yes” animation_type=”0″ animation_direction=”left” animation_speed=”1″ class=”” id=””]Alert Message Content Goes Here[/fusion_alert]
[fusion_alert type=”general” accent_color=”” background_color=”” border_size=”1px” icon=”” box_shadow=”yes” animation_type=”0″ animation_direction=”left” animation_speed=”1″ class=”” id=””]Click The X To Close Out The Box[/fusion_alert]

4 Default Message Types Or Build Your Own

There are 4 default message types: general, error, success, notice.  And a “custom” message type can be used to customize the elements.

[fusion_alert type=”general” accent_color=”” background_color=”” border_size=”1px” icon=”” box_shadow=”yes” animation_type=”0″ animation_direction=”left” animation_speed=”1″ class=”” id=””]Default General Message Type[/fusion_alert]
[fusion_alert type=”error” accent_color=”” background_color=”” border_size=”1px” icon=”” box_shadow=”yes” animation_type=”0″ animation_direction=”left” animation_speed=”1″ class=”” id=””]Default Error Message Type[/fusion_alert]
[fusion_alert type=”success” accent_color=”” background_color=”” border_size=”1px” icon=”” box_shadow=”yes” animation_type=”0″ animation_direction=”left” animation_speed=”1″ class=”” id=””]Default Success Message Type[/fusion_alert]
[fusion_alert type=”notice” accent_color=”” background_color=”” border_size=”1px” icon=”” box_shadow=”yes” animation_type=”0″ animation_direction=”left” animation_speed=”1″ class=”” id=””]Default Notice Message Type[/fusion_alert]

Customization Settings

The shortcode options allow you to set background colors, accent colors (text/icon), border size and color, and display a bottom shadow.

[fusion_alert type=”custom” accent_color=”#ecf7d4″ background_color=”#a2cc55″ border_size=”1px” icon=”fa-cog” box_shadow=”no” animation_type=”0″ animation_direction=”left” animation_speed=”1″ class=”” id=””]Fully Customizable Settings![/fusion_alert]
[fusion_alert type=”custom” accent_color=”#ffffff” background_color=”#74badb” border_size=”0px” icon=”fa-cog” box_shadow=”no” animation_type=”0″ animation_direction=”left” animation_speed=”1″ class=”” id=””]Customize The Background Color[/fusion_alert]
[fusion_alert type=”custom” accent_color=”#ffc852″ background_color=”#d5962c” border_size=”0px” icon=”fa-paint-brush” box_shadow=”no” animation_type=”0″ animation_direction=”left” animation_speed=”1″ class=”” id=””]Customize The Accent Colors[/fusion_alert]
[fusion_alert type=”custom” accent_color=”#dda34a” background_color=”#ffffff” border_size=”5px” icon=”fa-wrench” box_shadow=”no” animation_type=”0″ animation_direction=”left” animation_speed=”1″ class=”” id=””]Control The Border Size[/fusion_alert]
[fusion_alert type=”custom” accent_color=”#74badb” background_color=”#ffffff” border_size=”5px” icon=”fa-eyedropper” box_shadow=”no” animation_type=”0″ animation_direction=”left” animation_speed=”1″ class=”” id=””]Control The Border Color[/fusion_alert]
[fusion_alert type=”general” accent_color=”#ffffff” background_color=”#cccccc” border_size=”1″ icon=”fa-adjust” box_shadow=”yes” animation_type=”0″ animation_direction=”left” animation_speed=”1″ class=”” id=””]Subtle Box Shadow Setting[/fusion_alert]

Animation Settings

Alert boxes can have CSS3 animations. This allow the box to animate when it comes into the viewport to helps catch the viewers eye.

[fusion_alert type=”general” accent_color=”” background_color=”” border_size=”1px” icon=”” box_shadow=”yes” animation_type=”bounce” animation_direction=”down” animation_speed=”0.5″ class=”” id=””]Bounce Animation Setting[/fusion_alert]
[fusion_alert type=”error” accent_color=”” background_color=”” border_size=”1px” icon=”” box_shadow=”yes” animation_type=”slide” animation_direction=”right” animation_speed=”0.5″ class=”” id=””]Slide Animation Setting[/fusion_alert]
[fusion_alert type=”success” accent_color=”” background_color=”” border_size=”1px” icon=”” box_shadow=”yes” animation_type=”flash” animation_direction=”left” animation_speed=”0.5″ class=”” id=””]Flash Animation Setting[/fusion_alert]
[fusion_alert type=”notice” accent_color=”” background_color=”” border_size=”1px” icon=”” box_shadow=”yes” animation_type=”shake” animation_direction=”up” animation_speed=”0.5″ class=”” id=””]Shake Animation Setting[/fusion_alert]

Complete Set of Options 

Every option and description included with the alert shortcode is listed below.

[fusion_checklist icon=”fa-check” iconcolor=”#333333″ circle=”no” circlecolor=”” size=”small” class=”” id=””][fusion_li_item icon=””]type – Can be one of these values: general, error, success, notice, or custom. Sets the type of alert message.[/fusion_li_item][fusion_li_item icon=””]accent_colorCustom setting only. Accepts a hexcode ( #000000 ). Sets the border, text and icon color.[/fusion_li_item][fusion_li_item icon=””]background_colorCustom setting only. Accept a hexcode ( #000000 ). Sets the background color.[/fusion_li_item][fusion_li_item icon=””]border_sizeCustom setting only. Accepts a pixel value. For example, 1px. Sets border width.[/fusion_li_item][fusion_li_item icon=””]icon – A font awesome icon value. For example, fa-glass.[/fusion_li_item][fusion_li_item icon=””]box_shadow – Can be one of these values: yes, or no. This will show or hide a box shadow below the alert box.[/fusion_li_item][/fusion_checklist]
[fusion_checklist icon=”fa-check” iconcolor=”#333333″ circle=”no” circlecolor=”” size=”small” class=”” id=””][fusion_li_item icon=””]animation_type – Can be one of these values: none, bounce, fade, flash, shake, or slide. Sets the animation to use on the shortcode.[/fusion_li_item][fusion_li_item icon=””]animation_direction – Can be one of these values: down, right, left, or up. Sets the incoming direction for the animation.
[/fusion_li_item][fusion_li_item icon=””]animation_speed – Accepts a numerical value from .1, which is the slowest, to 1, which is the fastest.[/fusion_li_item][fusion_li_item icon=””]class – Add a custom class to the wrapping HTML element for further css customization.[/fusion_li_item][fusion_li_item icon=””]id – Add a custom id to the wrapping HTML element for further css customization.[/fusion_li_item][/fusion_checklist]

Join The 100,000+ Satisfied Avada Users!

BUY AVADA NOW!