跳至内容
菜单
此问题已终结
2 回复
29346 查看

How to change the menu icons

as shown in the url:

https://imgur.com/3HGz2TF

形象
丢弃
最佳答案

Hi,

For the menu the icon which has to displayed is specified like this,

<menuitem name="My App" id="my_menu" web_icon="module_name,static/description/icon.png"/>


To change the existing menu icons, either you can do it from the Front end or from the code. If you are doing from the code, inherit the menu and update the web_icon with the new icon.

<menuitem id="module_name.menu_root" web_icon="module_name,static/description/icon.png"/>


From the front end, activate the developer mode and navigate to Settings -> Technical -> User Interface -> Menu Items, search the menu and open it. There you can see a field named Web Icon Image where you can add the new icon.

Thanks

形象
丢弃
最佳答案

May be this will helpful

 
 

形象
丢弃
相关帖文 回复 查看 活动
1
7月 22
4501
3
2月 21
28428
1
11月 18
14443
3
4月 25
10886
2
7月 24
2602