Skip to main content

Buttons

[button parameters]Button label[/button]

Parameters

Parameter Description Required Values Default
href URL to link the button to yes Any href or WordPress page ID number
target URL target _blank, _parent, lightbox
background_color Background color of button any hex color or color name
text_size Text size any number with unit (i.e. 20px)
text_color Text color any hex color or color name
align Alignment of button left, center, right
border_color Border color any hex color or color name
border_width Border width any number with unit (i.e. 2px)
border_radius Border radius (rounded corner) any number with unit (i.e. 20px)
padding Padding any number with unit (i.e. 5px)
margin_top Top Margin any number with unit (i.e. 5px)
margin_right Right Margin any number with unit (i.e. 5px)
margin_bottom Bottom Margin any number with unit (i.e. 5px)
margin_right Right Margin any number with unit (i.e. 5px)
icon Icon yes i.e. fa fa-facebook. See full icon list here
icon_color Color of icon any hex color or color name
class Used to add an extra class to a button. Helpful for CSS targeting. anything (no spaces)
id Used to add an ID to a button. Helpful for CSS targeting. anything (no spaces)