The box shortcode allows you to display a message box or other boxed content. The content
of your box should be between the opening and closing shortcodes. The options for this shortcode are shown below.
Option | Default | Example | Description |
---|---|---|---|
type | basic | type="success" | The type of box will determine how it looks
|
align | (empty) | align="left" | The box alignment within your page |
width | (empty) | width="200px" | The CSS width of the box in pixels, e.g. “200px” or “30%” |
Examples
[box]This is a basic box[/box]
[box type="success" width="300px" align="center"]Lorem ipsum dolor sit amet.[/box]