Description
The Alert Box is a panel basically. You can define the style, heading and more via shortcode paarmeters. The text inbetween the opening and closing shortcode tags is displayed in the panel.
Examples and Outputs
[bsv-alert heading="Example Alert" headinglevel="h5"]This is an alert box using the Bootstrap primary style with an h5 heading.[/bsv-alert]
Example Alert
This is an alert box using the Bootstrap primary style with an h5 heading.
Format
[bsv-alert parameter="value" ...]your text here[/bsv-alert]
Parameters
Parameter | Description | Default |
---|---|---|
style | Defines the Bootstrap style. Supported values:
|
primary |
heading | Heading of the alert box | Example Alert |
headinglevel | HTML heading level of the heading. Supported values:
|
h4 |
dismissible | Defines whether the alert box is dismissible by an ‘x’ button in the upper right corner. Supported values:
|
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% |