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_size_responsive_small Text size for small devices only (mobile) any number with unit (i.e. 20px)
text_size_responsive_medium Text size for medium devices only (tablets, laptops) any number with unit (i.e. 20px)
text_size_responsive_large Text size for large devices only (desktops) 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)
width The width of a button normally defaults to whatever width is required to fit the text but you can force a width with this parameter. any number with unit (i.e. 200px), or “full” to make the button fill whatever width is available.
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)