1. Home
  2. Docs
  3. Shortcode Bootstrap Visuals Manual
  4. Alert

Alert

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]

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
headinglevel HTML heading level of the heading. Supported values:

  • h1
  • h2
  • h3
  • h4
  • h5
  • h6
h4
dismissible 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%

 

Was this article helpful to you? Yes No

Leave a Reply

Your email address will not be published. Required fields are marked *