zhangm Supervisor Posted July 16, 2005 Supervisor Share Posted July 16, 2005 (edited) I've been trying to set the text selection colors by editing user.js, but I've had no luck...or rather, its doing the exact opposite of what I'm telling it to do. This is the entry in user.js: // set selection color to light blue user_pref("ui.textSelectBackground", "#D9F7FF"); user_pref("ui.textSelectForeground", "#000000"); As you can see, I'm trying to set the foreground color (I'm assuming this means the color of the text, could be the problem...) to black, and the background color to a light blue. This is about:config registering my changes, and the address bar shows what I'm getting - black background, light blue text. If I switch the values around, I get the exact same thing. So how do I get black text, and a light blue background behind it? *Edit: Also, where are the attributes for the category headings under about:config? I'm trying to make the VS skin those as opposed to the FF theme. Edited July 16, 2005 by Relativity_17 Link to comment Share on other sites More sharing options...
supernova_00 Posted July 16, 2005 Share Posted July 16, 2005 those settings are set by the theme, you would have to hack the theme to change those. Link to comment Share on other sites More sharing options...
zhangm Supervisor Posted July 16, 2005 Author Supervisor Share Posted July 16, 2005 If you mean the Firefox theme I'm using, that doesn't seem to be the case. I've commented out the changes in user.js, but the colors haven't defaulted to any set value yet, they're still the same colors I specified in user.js. What file would they be specified in anyway? If you mean the VS, that's not the case either. InspiratSE uses a bright blue background color behind black text. Link to comment Share on other sites More sharing options...
supernova_00 Posted July 16, 2005 Share Posted July 16, 2005 would have to add some code to userchrome.css file...I can't code so i havent a clue on what to add. If you find out though please post it here Link to comment Share on other sites More sharing options...
supernova_00 Posted July 16, 2005 Share Posted July 16, 2005 (edited) userContent.css /* Text highlight...also goes in userChrome.css */ ::-moz-selection { color: #D1FFFF !important; background: #006699 !important; } Edited July 16, 2005 by supernova_00 Link to comment Share on other sites More sharing options...
Recommended Posts