Browse and use icons
The Icons screen lists the icon font included with Marketers Delight. Each entry shows the icon preview, its class, and its Unicode value.
Before you start
- You need an Administrator account on a site running Marketers Delight 6.0 or later.
- You need access to the HTML or CSS where the icon will be used.
Browse the icon library
Go to Theme → Settings → Icons.
Find the icon you want, then copy the class shown below it. Icon classes use the format md-icon-name, such as md-icon-search.
Use an icon class
Add the icon class to an HTML element:
<i class="md-icon-search"></i>The Icons screen also shows the Unicode value for use in CSS generated content.
Manage a custom icon set
Open Manage Icons to upload a selection.json file from an IcoMoon download. Upload it whenever the md.woff file in the child theme changes. Restore default icons removes the custom icon data and returns to the default MD icon set.
Check the result
Open the page where you added the icon and confirm the expected symbol appears. If it does not, compare the class with the Icons screen, check that the element includes the full md-icon- prefix, and confirm a custom icon set still contains that icon. If you use a caching plugin, clear its cache and reload.
