Icon

In this article, we're going to discuss the Icon Element and its settings.

  1. Setup
  2. Design Options
  3. Customize
  4. Demo
  5. Summary

The Icon Element adds an icon on the page. To add the Icon Element, simply search for "Icon" and drag "Icon" to the canvas.

Icon Element Addition

Setup

The Setup section contains controls for the initial setup of the icon.

Icon Element Setup
  • Font Size - Use this option to set the base font of the icon.
  • Icon - Use this option to select the icon. Clicking this option will open up the icon selection dialog.
  • Width - Use this options to set the width of the icon.
  • Height - Use this options to set the height of the icon.
  • Color & Background - Use this option to set the main icon color and background of the icon.
  • Type - @since CS 7.4.0 Use SVG or Webfont Icon load type
Icon Element Setup Icon

Design Options

Under the Design settings, you have options to set the margin, border, box-shadow, border-radius, text-shadow of the Icon.

Margin

Use this option to set the margin of the Icon. You can change the settings for all the sides of the Icon or modify them individually.

Icon Element Setup Margin

Border

Use this option to set the border of the Icon. You can set the style, width and color of the border on all sides or each side individually.

Icon Element Setup Border

Border Radius

Use this option to set a border-radius for the Icon. You can set the curve on all sides or set them individually.

Icon Element Setup Border Radius

Box Shadow

You can set a shadow over the Icon using the box-shadow control group.

  • X-Offset - Use this option to set the X offset of the shadow in the Icon.
  • Y-Offset - Use this option to set the Y offset of the shadow in the Icon.
  • Blur - Use this option to set the intensity of the blur effect in the Icon.
  • Spread & Position - Use this option to set the spread amount of the items section shadow and decide if you want the shadow to sit inside or outside of the Icon.
  • Color - Use this option to set the color of the Icon shadow.
Icon Element Setup Box Shadow

Text Shadow

The text-shadow control group contains settings to set a text-shadow for the Icon text.

  • X-Offset - Use this option to set the X offset of the text-shadow.
  • Y-Offset - Use this option to set the Y offset of the text-shadow.
  • Blur - Use this option to set the intensity of the blur effect in the text-shadow.
  • Color - Use this option to set the color of the text-shadow.
Icon Element Setup Text Shadow

Customize

The Customize pane consists of various features that allow you to take further control over your Element's styling and functionality:

  • ID Sets an HTML ID on the Element.
  • Class Sets an HTML Class on the Element.
  • Element CSS Use this feature for increased stylistic control of your Element, especially over nested markup. Click here for more detailed information on this feature, such as using $el to dynamically target the base tag, et cetera.
  • Hide During Breakpoints Hides the Element at different screen sizes when design alterations are needed. Click here for more information.
  • Conditions Adds / removes Elements from the page when certain criteria are met (e.g. If a featured image is set...). Click here for more information.
  • Custom Attributes Use this option to add custom HTML attributes to the root tag of the Element (e.g. data-info="123"). This can be particularly helpful when integrating with various scripts and libraries.

Demo

To see a live demo of the Icon Element click here.

Summary

To sum up, we've discussed the Icon Element. We've discussed that an Icon Element is an easy tool for adding icons on a page and we've learned how to change it's content and design and delved into details of the Icon Element settings.

See something inaccurate? Let us know