Shortcode: [box] – Wrap Content in a Box
[ box]text[/box]
Wrap content in a box.
Shortcode Usage: [ box align=left background=#fff border=true border_rule='border-css' border_radius=4 color=#000 margin=1 padding=1 shadow=1 style='style-rules']text[/box]
- align=align: Leave blank, or specify left, center, or right for alignment of box within surrounding text.
- border=true: True is default. Specify false or 0 for no borders.
- border_rule=’1px solid black‘: Specify a compound border CSS value to replace the default ‘1px solid black’.
- border_radius=4: Default is none – specify a px value for the corner radius if you want rounded corners.
- color=#000: Default is inherit – specify a valid color for the color of the text in the box.
- background=#fff: Default is inherit – specify color for box background color.
- margin=1: Default is 0 – specify an ’em’ value for margin around the box. Using a margin overrides align parameter.
- padding=1: Default 1 – specify an ’em’ value for padding inside box.
- shadow=0: Default 0 – specify a value from 1 to 5 for a border around the box.
- style=inline-style: any additional custom styling for the box
- width=100: A percentage width for the box within its surrounding container.