How to add/change icon for custom buttons or menu items in Opera?
Sunday, 1. February 2009, 21:38:08
One can locate a menu item easily and quickly by seeing an icon rather than text.
To add/change icon- 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
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 Next »
ZAHEK # 1. February 2009, 21:44
olenk # 1. February 2009, 22:12
lucideer # 1. February 2009, 22:12
Tamil # 1. February 2009, 22:15
lucideer # 1. February 2009, 22:56
Animated pngs? - yes
svgs? - no
Chas4 # 2. February 2009, 01:48
Marike79 # 2. February 2009, 13:39
AOTEAROAnz # 5. February 2009, 05:36
Anonymous # 14. February 2009, 16:05
Hi Tamil. Since I updated to 9.63 and using old look skin I cannot drag-and-drop bookmarks buttons to address toolbar. I even tried previously back-ups of standard_toolbar (1) .ini files, but no success. :doh:
Tamil # 14. February 2009, 16:07
Anonymous # 14. February 2009, 17:29
Faq #74: SHIFT key option works, but Tools → Appearance dialog shows no drag enable (not for me, anyways). Many thanks, Tamil. A pray and :banana: go to you ! I'll recommend ur blog.
Tamil # 14. February 2009, 21:50
Hades32 # 19. March 2009, 09:20
is it possible to use this with the "double click 'search with'" menu?
I would very like to have favicons here...
Tamil # 19. March 2009, 09:22
tabanhachi # 16. April 2009, 06:49
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 # 16. April 2009, 10:54
Originally posted by tabanhachi:
AFAIK, not possible.tunayx # 21. May 2009, 11:46
lucideer # 21. May 2009, 16:01
Originally posted by tunayx:
No, but it increases RAM usage (a tiny tiny bit)
Anonymous # 9. June 2009, 17:46
Hello,
is there a way to save the images in another place than the skin file? I often change my opera skin and I have a lot of custom icons, so it would be great if there was one folder for all skins.
Best regards!
Tamil # 9. June 2009, 17:51
Anonymous # 9. June 2009, 18:22
> Nope.
What a bummer!
I think I have to write an own script...
Anonymous # 9. June 2009, 19:51
I also would like to have tooltips, whether it's possible.
My menu entry looks like that:
item, "Go to xy"=Go to page, "http://www.foobar.com", ,"tooltip"
Thank you!
Anonymous # 13. June 2009, 08:36
Hi,
Some of the bookmarks i assigned to my personal bar don't have an actual image, so they all end up with the same default grey star. I came here hoping this would be a way to change them, but i don't think that they are menu-items. Does anybody know of another way to chance said icons?
Kind regards,
Gerk
Tamil # 13. June 2009, 14:17
Anonymous # 13. June 2009, 15:11
Thank you for your quick response. It seemed just what i needed. However, i should've mentioned that i'm using Opera 9.64.
" Tamil # 12. June 2009, 08:29:
This will work up to Opera 9.27 and format is changed after that. "
So i'm afraid it doesn't work for me. I haven't been able to locate the imagefolder, either, maybe due to ineptitude, or due to the fact that the format changed. I'll keep on searching, but thanks anyway!
Kind regards,
Gerk
Anonymous # 13. June 2009, 15:15
It seems i jumped to conclusions too soon. There IS some helpful information there, however it's pretty dificult to understand as it's translated from Bulgarian. That doesn't mean it's not funny though:
"1. Guidance is where the entrails" is definitely advice that should apply to other parts of life as well.
I'll keep on trying then.
Thanks,
Gerk
Tamil # 13. June 2009, 15:16
Anonymous # 13. June 2009, 15:29
" Tamil is written on the subject in 2006, but recently, it appeared that the writing is flat and does not work, and need to dine while. " - I'll try the fish.
On a side note, i was able to locate the image-folder in the way described, but it turns out to be such an amount of hassle that i'll rather just remember which grey star has what function.
Still, your solutions have proven useful in many other instances and i thank you once again.
Kind regards,
Gerk
Anonymous # 19. June 2009, 08:10
Hey guys so I added this google word translate submenu under the [Hotclick Popup Menu] section and put some thing out, looks like:
now I wanted to add the google icon to that submenu, so I put the code "Submenu, Google Word Translate, Google Word Translate, , , google"
of course I edited the zip with folder "custom_buttons" and inside put google.png file, edited skin.ini to contain "google = custom_buttons/google.png" under [Images] section
but still as you can see in the picture, the icon doesn't appear.
how come?
Anonymous # 19. June 2009, 08:11
oops :P forgot to post the pic link: http://i39.tinypic.com/2lkcznl.png
Tamil # 19. June 2009, 08:58
Anonymous # 19. June 2009, 20:45
ohh so it won't work for submenus?
what a shame. thanks anyway.. great blog! :)
Dava # 3. July 2009, 13:22
Thanks for the guide.
Dava
Tamil # 3. July 2009, 15:50
Originally posted by Tamil:
Sorry, it will work. TryDava # 8. July 2009, 12:02
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 # 8. July 2009, 12:15
Dava # 8. July 2009, 13:19
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 # 8. July 2009, 14:06
Dava # 8. July 2009, 19:11
Oh well, nothing major.
Thanks for your help.
Dava
Tamil # 9. July 2009, 05:18
Anonymous # 12. July 2009, 20:28
@Tamil & Dava:
Same problem here... Submenu icon doesn't work ;-(
Tamil # 13. July 2009, 04:17
Anonymous # 15. July 2009, 13:58
@ Tamil: I have Opera 9.64
Tamil # 15. July 2009, 14:26
Anonymous # 16. July 2009, 13:57
Ok, thank you Tamil!
zikzakatak # 18. August 2009, 04:59
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 # 18. August 2009, 08:55
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 # 18. August 2009, 18:24
Tamil # 20. August 2009, 12:00
zikzakatak # 24. August 2009, 19:22