MozillaZine

[MenuWizard] Change/Set icons in menus

Announce and Discuss the Latest Theme and Extension Releases.
pag77
 
Posts: 1568
Joined: December 26th, 2013, 10:46 pm

Post Posted February 8th, 2016, 4:54 am

It is a solution for the add-on "Menu Wizard"
https://addons.mozilla.org/addon/s3menu-wizard/
http://forums.mozillazine.org/viewtopic.php?f=48&t=2828771

This solution will help you to change or set the icon of the menu

Install:
  1. Install Menu Wizard, if it is not already in your browser
  2. Open the properties of the desired menu
  3. In the "Style (the CSS)" insert this code as an example of a picture from Firefox (do not worry about the size, in the menu will be all right)Image:
    Code: Select all
    list-style-image: url('https://addons.cdn.mozilla.net/static/img/app-icons/med/firefox.png') !important;
  4. You can also convert the image and use local data, for example by:
    http://www.askapache.com/online-tools/base64-image-converter/
    That will have the following code:
    Code: Select all
    list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAA+CAYAAAB6Kgg+AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QcBDBwUnV9uYAAAF6JJREFUaN7lm3uUXVd93z+/vc89986d9+hpyTayJUu2/EZBNnFsg0kNBGxo6gQKKakhYa22tDQJbrAJTYIbk9SkKeURknTRBU4WEMAYTGMeBgxOcf22/JAlPyRbkjV6jEYzd+7jPPbev/5xzn3MSArGdR9rMUt7nXPvGR2dz/n+fr/9+/32lqgqPws/hp+Rn58Z0Oj/xE3/8PF2fciaS1IfLsq8nodyilddrzAuSAyqqmQIh6zI8yLssiLb4kh+PGTN/b+1qepf7meSl8tHP/xoc7xu7TVtF37VeX1tx4VKHpSgoAoBZek/JVKYlAgYEWIrxNYsREbuiAxfylS/8dHzR9z/F6A3Pd5elwd+t+PCuxZSV++4QOoVhxICCMVQhPLP4h9VlOKXjAgRUI2EochSr5iDsZXPCPqJGy8YPfL/BPQj25orVeQ/NBJ/7dFOFrVyz4JCFhSvBZBBiESwIj3VpIwKGkC1UNmr4lTxqgTniEWoRYZTR4REK4z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') !important;
  5. Click "Apply"

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 2 guests