Icon
Return icon font.
Shortcode
[icon name="fa-star"]Optional text[/icon]
Attributes
| Attribute | Type | Values | Description |
|---|---|---|---|
| name | text | fa-star | Icon name. |
| color | text | Hex (#000000) or rgb (rgb(0,0,0)) or rgba (rgba(0,0,0,.5)) color value. | |
| size | text | Icons size class: "small", "default", "large", "xlarge". | |
| spin | boolean | 1, 0 | Set to "1" to spin icon. It works width Font Awesome and Pe-icon-7-stroke icons. |
| rotate | text | normal | Rotate class: "normal", "rotate-90", "rotate-180", "rotate-270", "flip-horizontal", "flip-vertical". |
| margin | text | 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, 0 | Set to "0" to get square background icon. |
| bgcolor | text | Hex (#000000) or rgb (rgb(0,0,0)) or rgba (rgba(0,0,0,.5)) color value. | |
| icon_text_pos | text | after | Icon text position: "before", "after". |
| nline | boolean | 1, 0 | Set to "1" if you want place icon in a new line. |