Jase Posted September 22, 2007 Share Posted September 22, 2007 I like how you can have folders for your bookmarks.. but what I dislike is they are all the same! boring looking folders.. well its time to change that and make your firefox folders look like this: go to: C:\Documents and Settings\*your username*\Application Data\Mozilla\Firefox\Profiles\*profile name*\chrome and create A: userChrome.css enter the following: [i].bookmark-item[container="true"][label="[b]NAME OF FOLDER[/b]"] { list-style-image: url('file:///*[b]LOCATION OF ICON[/b]*) !important; -moz-image-region: rect(0px 16px 16px 0px) !important; }[/i] here is an example: Quote .bookmark-item[container=true][label=Dailys] { list-style-image: url('file:///C:/Documents/Tools/FFI/home.png') !important; -moz-image-region: rect(0px 16px 16px 0px) !important; } .bookmark-item[container=true][label=Favorites] { list-style-image: url('file:///C:/Documents/Tools/FFI/favorits.png') !important; -moz-image-region: rect(0px 16px 16px 0px) !important; } This will show my first 2 folders: Dailys and Favorites.. remember to repeat the code to change the icons of the folders.. its a quite easy and simple trick that I thought I might share :) Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/ Share on other sites More sharing options...
Jase Posted September 23, 2007 Author Share Posted September 23, 2007 42 views and 0 comments?.. come on.. this had to of helped some people :( Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-588869431 Share on other sites More sharing options...
Harlem39s Finest Posted September 23, 2007 Share Posted September 23, 2007 that looks sexeh ! i'll try it. Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-588869446 Share on other sites More sharing options...
night_stalker_z Posted September 23, 2007 Share Posted September 23, 2007 Looks good but I dont think most people will bother. Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-588869454 Share on other sites More sharing options...
Jase Posted September 24, 2007 Author Share Posted September 24, 2007 why its pretty simple :s Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-588870955 Share on other sites More sharing options...
lordtinuviel Posted September 24, 2007 Share Posted September 24, 2007 (edited) jase try it it doesnt show :( edit: n/m fix it, great trick, thkz Edited September 24, 2007 by Daeron Tin Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-588870983 Share on other sites More sharing options...
Jase Posted September 24, 2007 Author Share Posted September 24, 2007 Daeron Tin?viel said: jasetry it it doesnt show:(( edit: n/m fix it, great trick, thkz You're welcome Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-588871373 Share on other sites More sharing options...
The_Decryptor Veteran Posted September 24, 2007 Veteran Share Posted September 24, 2007 I'd put the images in the same folder as the userchrome.css file, saves having to fix it up if the folder ever gets moved (and in case you're using portable firefox, keeps working over computers) Could also use a data: URI. Anyway, nice and simple (Y) Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-588871378 Share on other sites More sharing options...
jasondefaoite Posted September 24, 2007 Share Posted September 24, 2007 Ya this looks pretty nice. However if there is an update to firefox, does this get wiped? Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-588871389 Share on other sites More sharing options...
Corris Veteran Posted September 24, 2007 Veteran Share Posted September 24, 2007 jasondefaoite said: Ya this looks pretty nice. However if there is an update to firefox, does this get wiped? It shouldn't do since it is stored in the userChrome.css, which doesn't get touched by updates form what I know. Nice one though, I will have to try it out when I have some time and have found a nice icon to use. Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-588871393 Share on other sites More sharing options...
lordtinuviel Posted September 24, 2007 Share Posted September 24, 2007 could someone share some nice icons? Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-588871452 Share on other sites More sharing options...
Jase Posted September 25, 2007 Author Share Posted September 25, 2007 Daeron Tin?viel try icandy by foood:)) Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-588873614 Share on other sites More sharing options...
solardog Posted September 28, 2007 Share Posted September 28, 2007 Sweet. I did this once and totally forgot that I did it and how I did it until this thread just jiggled it out of the corner. Thanks. Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-588883089 Share on other sites More sharing options...
JackTorrance Posted November 23, 2007 Share Posted November 23, 2007 (edited) Dear Jase, sorry but that does NOT seem to work at all! :o First of all, you failed to mention that in order to create a proper userChrome.CSS, you need to keep the @namespace url line! Second, I've tried several times your nice code programing to no avail. Here is a full copy of the css file I created: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ .bookmark-item[container=true][label=XXX | News] { list-style-image: url('file:///C:\Documents and Settings\XXXX\My documents\drap-it.02.png) !important; -moz-image-region: rect(0px 16px 16px 0px) !important; } This is a cut and paste of the css, so what's wrong? Whenever I open Firefox 2.0, I have my bookmarks folders neatly stacked on the left, and the one I desperately try to change the icon of is style in the same boring, standard style despite the userChrome.css coded as stated above. Help! And thanks for anyone able to figure out what I did wrong! ;) Edited November 23, 2007 by JackTorrance Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-589012741 Share on other sites More sharing options...
kyller Posted November 25, 2007 Share Posted November 25, 2007 Jase, What windows msstyles u are using? plz share ? Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-589015640 Share on other sites More sharing options...
Jase Posted November 25, 2007 Author Share Posted November 25, 2007 This Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-589015660 Share on other sites More sharing options...
kyller Posted November 26, 2007 Share Posted November 26, 2007 ty Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-589017670 Share on other sites More sharing options...
Harlem39s Finest Posted March 31, 2008 Share Posted March 31, 2008 after 6 months(i lost all my bookmarks) i finally used this tweak on my FF :D Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-589303611 Share on other sites More sharing options...
SMELTN Posted March 31, 2008 Share Posted March 31, 2008 I am about to try this now myself. I hope it still works. Also I need to find some nice icons Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-589303714 Share on other sites More sharing options...
Jase Posted April 15, 2008 Author Share Posted April 15, 2008 Any Luck? Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-589334835 Share on other sites More sharing options...
ckempo Posted April 15, 2008 Share Posted April 15, 2008 Or, install the "Favicon Picker 2" extension and be able to adjust icons at will. Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-589334861 Share on other sites More sharing options...
+longgonebn Subscriber² Posted April 26, 2008 Subscriber² Share Posted April 26, 2008 ckempo said: Or, install the "Favicon Picker 2" extension and be able to adjust icons at will. does not work with folder icons, only bookmark icons. Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-589358124 Share on other sites More sharing options...
RicoSuave Posted August 15, 2008 Share Posted August 15, 2008 Thank you, Jase. I have been looking for this folder modifcation for a long time, and FINALLY found it here. It worked perfectly for me, just as you described. And as I am one of those people who nests bookmark folders several layers deep, I am loving Firefox much more now. Thanks again! :) -Rene Flores Austin, TX Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-589653750 Share on other sites More sharing options...
Jase Posted September 8, 2008 Author Share Posted September 8, 2008 RicoSuave said: Thank you, Jase. I have been looking for this folder modifcation for a long time, and FINALLY found it here. It worked perfectly for me, just as you described. And as I am one of those people who nests bookmark folders several layers deep, I am loving Firefox much more now. Thanks again! :) -Rene Flores Austin, TX you're welcome! Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-589755610 Share on other sites More sharing options...
ooka Posted February 27, 2009 Share Posted February 27, 2009 Thanks Jase, First I tried everything to change my folder icons. I was using just one code,example: .bookmark-item[container=true][label=dev] { list-style-image: url('file:///C:/1.ico') !important; -moz-image-region: rect(0px 16px 16px 0px) !important; } Then I thought may be writing "at least 2 codes" is the secret of changing folder icons...(Because Jase wrote 2 codes) After that I wrote code for 2 folder icon. .bookmark-item[container=true][label=dev] { list-style-image: url('file:///C:/1.ico') !important; -moz-image-region: rect(0px 16px 16px 0px) !important; } .bookmark-item[container=true][label=resim] { list-style-image: url('file:///C:/2.ico') !important; -moz-image-region: rect(0px 16px 16px 0px) !important; } Finally the problem solved :D.Don't know was that luck or right decision. Try to write code for 2 or more folder icon. If anyone solves their problem by my method please write it here.Because I want to know if it is right or wrong. Thanks again Jase :) Link to comment https://www.neowin.net/forum/topic/589368-change-firefox-bookmark-folder-icons/#findComment-590637186 Share on other sites More sharing options...
Recommended Posts