Alerts are direct from Bootstrap and show a basic message in a colored box. You can include any text, other shortcodes and HTML within the [alert]
shortcode.
Info Style Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
SuccessStyle Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Danger Style Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Warning Style Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
You can also assign any fontAwesome icon.
[alert color="info"]<strong>Hey, you!</strong> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[/alert]
Options
Argument | Default | Description |
---|---|---|
color | info | Style of alert - notice, info, success, danger, warning or any hex value (#0099ff) |
icon | None | Adds an icon to the top left of the alert box. (view icons). Ex: arrow-right, chevron-right, twitter, etc. Note: Do not prefix icon ID with fa- . |
shadow | 0 | There are 8 different theme shadows that can be used. -- 1, 2, 3, 4, 5, 6, 7, or 8. |
class | n/a | Add additional classes for the alert box for further customizations. |