Icon

Return icon font.

Shortcode

[icon name="fa-star"]Optional text[/icon]

Attributes

Name Type Default Description
name string fa-star Icon name: Glyphicons, Font Awesome or Pe-icon-7-stroke.
color string Hex (#000000) or rgb (rgb(0,0,0)) or rgba (rgba(0,0,0,.5)) color value.
size string default Icons size class: "small", "default", "large", "xlarge".
spin boolean 0 Set to "1" to spin icon. It works width Font Awesome and Pe-icon-7-stroke icons.
rotate string normal Rotate class: "normal", "rotate-90", "rotate-180", "rotate-270", "flip-horizontal", "flip-vertical".
margin string Margin (top right bottom left) in pixels, e.g. to set 10 pixels margin bottom use: "0 0 10px 0".
sizebg number Icon background size in pixels.
rounded boolean 1 Set to "0" to get square background icon.
bgcolor string Hex (#000000) or rgb (rgb(0,0,0)) or rgba (rgba(0,0,0,.5)) color value.
icon_text_pos string after Icon text position: "before", "after".
nline boolean 0 Set to "1" if you want place icon in a new line.