...
Code Block |
---|
<referenceBlock name="navigation.main"> <arguments> <argument name="show_category_icon_subcats" xsi:type="boolean">true</argument> <argument name="show_category_icon_root" xsi:type="boolean">true</argument> </argument>arguments> </referenceBlock> |
After adding an icon in the admin panel to all or some categories and clearing the navigation cache, the icon will be visible next to the category. An additional class is added to easily style items with an icon.
...