How to add/change icon for custom buttons or menu items in Opera?
Sunday, February 1, 2009 9:38:08 PM
One can locate a menu item easily and quickly by seeing an icon rather than text.
- Create/find an image in any image format (GIF, JPG, ICO or PNG but PNG is recommended) and resize it to 16 x 16 pixels. If you use large size, Opera will show resized icon. For example, we will add Google favicon as icon for Google Auto Translation menu item.
- Place icon image inside a folder (for example, custom_buttons) and add folder to zipped skin file after creating a backup.
- Open skin.ini from zipped skin file, add relative path to image with icon name as shown below under [Images] section and update it in skin file.
google = custom_buttons/google.ico
- To add/change icon for menu item, open menu configuration! file, find menu item and specify icon name. For Google Auto Translation menu item, change
Item, Google Auto Translation = Go to page, "http://translate.google.com/translate_c?u=%u"
toItem, Google Auto Translation = Go to page, "http://translate.google.com/translate_c?u=%u", , , google
- Activate modified skin and menu setup or restart Opera.
Similarly, you can add/change icon for custom buttons by editing toolbar configuration file.
![]()
Google Auto Translation menu item without and with icon
The general syntax for a button/menu item is
Button/Menu item = Command, parameter-1, parameter-2, button tooltip, icon nameIf there is no parameter-1 or parameter-2 or button tooltip leave them blank. Since there is no parameter-2 and button tooltip in Google Auto Translation menu item, they are left blank.
To remove icon from menu item, remove icon name and if there is no icon name then you have to specify a dummy name to override the default icon as shown in the following example.
To remove icon for Go to Web Address from hotclick menu, in menu configuration! file under [Hotclick Popup Menu] change
Item, M_HOTCLICK_POPUP_MENU_GOTO_URL = Go to page, "%t"to
Item, M_HOTCLICK_POPUP_MENU_GOTO_URL = Go to page, "%t", , , Dummy
! = You should not modify ui\standard_menu.ini (defaults\standard_menu.ini for versions below 10) file as Opera will overwrite it during update. Create a copy of standard menu and edit it.
You can use existing skin images as icons without modifying skin file.
Updates:
Feb 7, 2009
Aug 2, 2009








1 2 3 Next »
Mağruf ÇolakoğluZAHEK # Sunday, February 1, 2009 9:44:31 PM
Olenkolenk # Sunday, February 1, 2009 10:12:10 PM
lucideer # Sunday, February 1, 2009 10:12:27 PM
Tamil # Sunday, February 1, 2009 10:15:52 PM
lucideer # Sunday, February 1, 2009 10:56:33 PM
Animated pngs? - yes
svgs? - no
Charles SchlossChas4 # Monday, February 2, 2009 1:48:59 AM
MarikeMarike79 # Monday, February 2, 2009 1:39:55 PM
HenryAOTEAROAnz # Thursday, February 5, 2009 5:36:11 AM
Unregistered user # Saturday, February 14, 2009 4:05:08 PM
Tamil # Saturday, February 14, 2009 4:07:59 PM
Unregistered user # Saturday, February 14, 2009 5:29:19 PM
Tamil # Saturday, February 14, 2009 9:50:03 PM
Martin RauscherHades32 # Thursday, March 19, 2009 9:20:36 AM
is it possible to use this with the "double click 'search with'" menu?
I would very like to have favicons here...
Tamil # Thursday, March 19, 2009 9:22:14 AM
tabanhachi # Thursday, April 16, 2009 6:49:23 AM
Love the blog! It's really helpful
A quick question.
In your response to Hades32 above, does this mean that any menu item that is a "Submenu" cannot have its custom icon (I'm trying to add an icon to the following command in [Document Popup Menu]: Submenu, Tab History, Internal Page History).
If not, is it possible to somehow simulate the behaviour of the above command with an "Item" so that an custom icon can be specified. Thanks in advance.
Tamil # Thursday, April 16, 2009 10:54:31 AM
Originally posted by tabanhachi:
AFAIK, not possible.tunayx # Thursday, May 21, 2009 11:46:18 AM
lucideer # Thursday, May 21, 2009 4:01:06 PM
Originally posted by tunayx:
No, but it increases RAM usage (a tiny tiny bit)
Unregistered user # Tuesday, June 9, 2009 5:46:08 PM
Tamil # Tuesday, June 9, 2009 5:51:18 PM
Unregistered user # Tuesday, June 9, 2009 6:22:50 PM
Unregistered user # Tuesday, June 9, 2009 7:51:10 PM
Unregistered user # Saturday, June 13, 2009 8:36:36 AM
Tamil # Saturday, June 13, 2009 2:17:23 PM
Unregistered user # Saturday, June 13, 2009 3:11:24 PM
Unregistered user # Saturday, June 13, 2009 3:15:53 PM
Tamil # Saturday, June 13, 2009 3:16:11 PM
Unregistered user # Saturday, June 13, 2009 3:29:58 PM
Unregistered user # Friday, June 19, 2009 8:10:27 AM
Unregistered user # Friday, June 19, 2009 8:11:10 AM
Tamil # Friday, June 19, 2009 8:58:23 AM
Unregistered user # Friday, June 19, 2009 8:45:52 PM
DaveDava # Friday, July 3, 2009 1:22:54 PM
Thanks for the guide.
Dava
Tamil # Friday, July 3, 2009 3:50:58 PM
Originally posted by Tamil:
Sorry, it will work. TryDaveDava # Wednesday, July 8, 2009 12:02:34 PM
Does that mean that you can add an icon for the Menu submenu in the right-click menu as described in one of your previous blog entries: http://my.opera.com/Tamil/blog/toggle-remove-menu-bar
I had a play around with several variations on the above methods without success.
Dava
Tamil # Wednesday, July 8, 2009 12:15:35 PM
DaveDava # Wednesday, July 8, 2009 1:19:15 PM
Would you like to share what method you used to achieve that? Did you append something to the tail of the Submenu, Menu, Browser Menu Bar entry?
Dava
Tamil # Wednesday, July 8, 2009 2:06:20 PM
DaveDava # Wednesday, July 8, 2009 7:11:10 PM
Oh well, nothing major.
Thanks for your help.
Dava
Tamil # Thursday, July 9, 2009 5:18:25 AM
Unregistered user # Sunday, July 12, 2009 8:28:59 PM
Tamil # Monday, July 13, 2009 4:17:11 AM
Unregistered user # Wednesday, July 15, 2009 1:58:12 PM
Tamil # Wednesday, July 15, 2009 2:26:50 PM
Unregistered user # Thursday, July 16, 2009 1:57:28 PM
Øzikzakatak # Tuesday, August 18, 2009 4:59:16 AM
i add a custom icon folder on skin.ini with an icon for delicious, then look for "add to delcious" button on toolbar.ini and add the path to the new custom icon but didnt work, changes were not visible at all.
what can be wrong?.
there is a number 1 in the end of the string.
im trying this on opera 10 (1708), standard skin.
Tamil # Tuesday, August 18, 2009 8:55:47 AM
Originally posted by zikzakatak:
You should not add path to icon in toolbar file. Mention a name for delicious icon with path to icon under [Images] section in skin and use that name in toolbar.Øzikzakatak # Tuesday, August 18, 2009 6:24:07 PM
Tamil # Thursday, August 20, 2009 12:00:30 PM
Øzikzakatak # Monday, August 24, 2009 7:22:29 PM