Alert

The Alert Box is a panel basically. You can define the style, heading and more via shortcode paarmeters. The text in between the opening and closing shortcode tags is displayed in the panel.

Examples

[bsv-alert heading="Example Alert"]This is an alert box using the Bootstrap primary style.[/bsv-alert]

Format

[bsv-alert parameter="value" ...]your text here[/bsv-alert]

Parameters

Parameter
Description
Default
style
Defines the Bootstrap style. Supported values:
  • danger
  • dark
  • info
  • light
  • primary
  • secondary
  • success
  • warning
primary
heading
Heading of the alert box
Example alert
dismissable
Defines whether the alert box is dismissible by an ‘x’ button in the upper right corner. Supported values:
  • no
  • yes
no
width
By default, the alert box spans over the full width of the parent object. You can sepcify a specific width here, e.g. 500px or 50%.
100%
Last modified 3mo ago