Icons management

Icons that can be used in Argument components can be added through a special admin menu.

Icon can be added by adding a library such as fontawesome or SVG icons.

To add an icon provider, follow the below steps:

  1. Go to “Icons Management” > “Providers”
    capture-decran-2016-10-21-a-16-54-56
  2. Enter a provider name and the URL that will be added in pages, then click on add
    capture-decran-2016-10-21-a-16-56-03

To add an icon, follow the below steps:

  1. Go to “Icons Management” > “Providers”
    capture-decran-2016-10-21-a-16-56-51
  2. Select a provider, add an icon name, paste the HTML code to use the icon and click on “Add”
    capture-decran-2016-10-21-a-16-57-48

Note that SVG are the best choices for icons. The main reason is because it is much easier to apply CSS rules on SVG than on icons which use markers such as <i>.

For SVG icons, use the provider “Local SVG”.

When adding an SVG, make sure to remove all parameters regarding size and color (usually with width, height and style tags).