Please follow instructions below to associate icons with category.
- Rename your icons to have category-id as filename, e.g. <category_id>.png
- Upload to assets
- Click on Asset in Help Center (Theming Editor)
- Copy script as shown below (for example):
- Paste this code in document_head.hbs template as shown below:
- If you are using older version of Diziana themes, you need to edit script.js for following:
var _icon = "<img src='"+ window["assets"+_catId]+ "' class='cat-image "+_catId+"'>";