Userchrome.css stopped working in TB 68 (.9 and previous)
Awhile ago my userchrome.css file stopped working after I updated. My toolkit file has been set to true all along:
toolkit.legacyUserProfileCustomizations.stylesheets
My @namespace line it proper:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
Why won't it work? It seems only a handful of things are working, like my read and unread colors and zebra stripes on my message list. Everything else—typeface, text size, background message color—is all messed up, and to make things worse, the regular font settings won't change things. I can't set anything to ignore individual e-mail fonts and use my own. It seems like the userchrome file is getting in the way of that, yet it won't work right, even the global font I set:
/* global font and size */
- { font-size: 14pt !important;
font-family: Papyrus !important;
}
{ background-color: tan !important; }
I've check online codes and those are what I have, including double :: where needed. What is going on and how do I fix it?
What do I do? I've checked
Chosen solution
I figured it out. My userChrome.css file was set to open as a text file by default even though I'd renamed it .css. I had to copy a default .css file and transfer my code into the new file. Lo and behold, everything is restored.
Read this answer in context 👍 0All Replies (3)
(Forgot to delete my last line. Pls ignore it and my simple typos. The important info is accurate.)
Modified
I had a lot of errors from my three extensions, but after I disabled them In the error console I still have this error and my userchrome file still will not work. And after I removed and put back the file, all my font is now tiny and it's killing me. I have to have this fixed. I have to be able to actually read my mail.
Chosen Solution
I figured it out. My userChrome.css file was set to open as a text file by default even though I'd renamed it .css. I had to copy a default .css file and transfer my code into the new file. Lo and behold, everything is restored.