Enfold Icon Shortcode: Easy & Responsive

By Danielle

Discovering the perfect WordPress theme for your website can be a daunting task, but once you've found it, unlocking its full potential is an exciting journey. Enfold, a popular multipurpose theme by Kriesi, offers a wealth of customization options, including the Enfold icon shortcode. This powerful tool allows you to insert icons into your content with ease, enhancing your website's visual appeal and user experience.

Shortcuts
Shortcuts

The Enfold icon shortcode is designed to work seamlessly with the Font Awesome and Material Design icons libraries, offering a vast collection of over 1,500 icons to choose from. Whether you're looking to add a simple 'like' icon to your blog posts or create a comprehensive icon set for your services page, the Enfold icon shortcode has got you covered.

Unfold icon
Unfold icon

Understanding the Enfold Icon Shortcode

The Enfold icon shortcode follows a simple syntax that makes it easy to use, even for beginners. The basic structure of the shortcode is as follows:

the letter c is made up of two overlapping shapes, one with an upside down shape
the letter c is made up of two overlapping shapes, one with an upside down shape

[enfold_icon icon="icon-class" size="icon-size" color="icon-color" style="icon-style"]

Icon Classes

an arrow pointing to the left on a white background
an arrow pointing to the left on a white background

The 'icon' attribute accepts the class name of the desired icon. For example, to insert a 'heart' icon from Font Awesome, you would use:

[enfold_icon icon="fa-heart"]

To find the class name of the icon you want to use, simply browse the Font Awesome or Material Design icon libraries and copy the class name from the icon's documentation.

icon for unfold
icon for unfold

Icon Sizes

The 'size' attribute determines the size of the icon. Enfold supports several predefined sizes, such as 'fa-lg', 'fa-2x', 'fa-3x', and 'fa-5x'. You can also use custom sizes by specifying a pixel value, like '30px' or '2em'. For example:

[enfold_icon icon="fa-heart" size="fa-3x"]

Folder Icon in Trendy Style. Archive Symbol Vector Stock Vector - Illustration of archive, portfolio: 188610332
Folder Icon in Trendy Style. Archive Symbol Vector Stock Vector - Illustration of archive, portfolio: 188610332

Styling Icons with the Enfold Icon Shortcode

The Enfold icon shortcode offers several styling options to help you integrate icons seamlessly into your website's design.

Code Icon (SVG, PNG) – Free Download (Version 7)
Code Icon (SVG, PNG) – Free Download (Version 7)
Pink shortcuts app logo created by me♡︎
Pink shortcuts app logo created by me♡︎
Download Microsoft Edge Browser Brand Logo Symbol White Design Software Vector Illustration With Black Background
Download Microsoft Edge Browser Brand Logo Symbol White Design Software Vector Illustration With Black Background
an orange background with white snowflakes in the center and one on the right side
an orange background with white snowflakes in the center and one on the right side
Black and pink app icon
Black and pink app icon
java coding logo
java coding logo
a yellow folder with a white button on it's left side and an arrow pointing to the right
a yellow folder with a white button on it's left side and an arrow pointing to the right
a white knot on a black background with the word's initials in each corner
a white knot on a black background with the word's initials in each corner
Shortcuts app icon
Shortcuts app icon
a white arrow pointing up in the dark
a white arrow pointing up in the dark
CODE SCANNER
CODE SCANNER
ショートカット icon
ショートカット icon
Pink shortcuts
Pink shortcuts
an image of a yellow book with black and white lines on the front, in pixel style
an image of a yellow book with black and white lines on the front, in pixel style
SHORTCUTS
SHORTCUTS
an image of a computer screen with the word's logo in green and blue
an image of a computer screen with the word's logo in green and blue
an arrow is in the center of a blue and black square with arrows on it
an arrow is in the center of a blue and black square with arrows on it
setting sticker | Opened Folder icon in iOS Style
setting sticker | Opened Folder icon in iOS Style
20 Coding icon set
20 Coding icon set
Multimedia Android 
Visual System 
Sign In Boihasbullah 9
Multimedia Android Visual System Sign In Boihasbullah 9

Icon Colors

The 'color' attribute allows you to specify the color of the icon. You can use any valid HTML color value, such as a hex code, RGB value, or color name. For example:

[enfold_icon icon="fa-heart" color="#ff0000"]

Icon Styles

The 'style' attribute lets you apply various styles to your icons, such as 'bordered', 'circle', 'rounded', and 'rotate'. You can also use custom CSS classes to create your own styles. For example:

[enfold_icon icon="fa-heart" style="bordered"]

Using Icons in Your Content

To insert an icon into your content using the Enfold icon shortcode, simply wrap the shortcode in your desired text. For example, to create a 'like' button with a heart icon, you could use:

[enfold_icon icon="fa-heart" size="fa-2x"] Like this post!

Creating Icon Sets with the Enfold Icon Shortcode

Enfold's icon shortcode also allows you to create icon sets, which can be particularly useful for displaying your website's features, services, or benefits. To create an icon set, simply wrap multiple Enfold icon shortcodes in a container element, such as a list item or a custom div. For example:

  • [enfold_icon icon="fa-laptop" size="fa-3x"] Website Design
  • [enfold_icon icon="fa-mobile" size="fa-3x"] Responsive Design
  • [enfold_icon icon="fa-globe" size="fa-3x"] SEO Optimization

With the Enfold icon shortcode, the possibilities are endless. Whether you're looking to add a touch of flair to your headings, create informative icon sets, or simply enhance your website's visual appeal, this powerful tool has got you covered. So go ahead, explore the vast library of icons, and let your creativity shine!