Recent answers to Have just upgraded to Firefox 42.0 and background color setting does not work anymore - a blank window is forever white.https://support.mozilla.org/ga-IE/questions/10921762015-11-11T16:24:15-08:00Hi jscher2000,
The problem has been solved (re: my above reply to cor-el). Anyway thank you very muc2015-11-11T16:24:15-08:00charlie323https://support.mozilla.org/ga-IE/questions/1092176#answer-805115<p>Hi jscher2000,
</p><p>The problem has been solved (re: my above reply to cor-el). Anyway thank you very much for your care and help!
</p>Hi cor-el,
Thanks for your advice. I have installed the New Tab Override extension and reset the new2015-11-11T16:19:32-08:00charlie323https://support.mozilla.org/ga-IE/questions/1092176#answer-805114<p>Hi cor-el,
</p><p>Thanks for your advice. I have installed the New Tab Override extension and reset the new tab URL as "about:blank", and this time it works!
</p><p>Again, thank you very much!
</p>You can make that one rule:
@-moz-document url(about:blank), url(about:newtab){ html,body {backgrou2015-11-11T03:36:31-08:00cor-elhttps://support.mozilla.org/ga-IE/questions/1092176#answer-804754<p>You can make that one rule:
</p>
<pre>@-moz-document url(about:blank), url(about:newtab){ html,body {background-color: #ccc !important } }</pre>charlie323 said
2) The blank page is the built-in Firefox new tab page, and I have long selected "S2015-11-10T23:48:50-08:00jscher2000https://support.mozilla.org/ga-IE/questions/1092176#answer-804617<p><em>charlie323 <a href="#answer-804494" rel="nofollow">said</a></em>
</p>
<blockquote>2) The blank page is the built-in Firefox new tab page, and I have long selected "Show blank page" from the drop-down menu after clicking the wheel.</blockquote>
<p>In that case, I think you need to duplicate the rule cor-el provided, list that additional page, and add it to your userContent.css file:
</p><p><code>@-moz-document url(<strong>about:blank</strong>){ html,body {background-color: #ccc&nbsp;!important } }
@-moz-document url(<strong>about:newtab</strong>){ html,body {background-color: #ccc&nbsp;!important } }</code>
</p><p>Does that work?
</p>The browser.newtab.url pref is no longer supported in Firefox 41 and later, so you can no longer use2015-11-10T12:40:50-08:00cor-elhttps://support.mozilla.org/ga-IE/questions/1092176#answer-804509<p>The <b>browser.newtab.url</b> pref is no longer supported in Firefox 41 and later, so you can no longer use this to set the new tab page.
</p><p>You can look at this extension to set the new tab page:
</p>
<ul><li>New Tab Override: <a href="https://addons.mozilla.org/firefox/addon/new-tab-override/" rel="nofollow">https://addons.mozilla.org/firefox/addon/new-tab-override/</a>
</li></ul>
<p>You can set the new tab URL setting via the Options/Preferences of the extension on the about:addons page.
</p><p>You can look at this extension if you use the home page as the new tab page.
</p>
<ul><li>New Tab Homepage: <a href="https://addons.mozilla.org/firefox/addon/new-tab-homepage/" rel="nofollow">https://addons.mozilla.org/firefox/addon/new-tab-homepage/</a>
</li></ul>
<p>Classic Theme Restorer includes this feature as well.
In current CTR versions (1.3.9+) you find "New tab page url" in the Tabs (1) section.
</p><p>You can use these special pages for the new tab page or use the URL of a web page.
the default new tab page with the tiles is <b>about:newtab</b>
</p>
<ul><li>the default home page is <b>about:home</b>
</li><li>for a blank page you can use <b>about:blank</b>
</li><li>for Super Start you can use <b>about:superstart</b>
</li></ul>To answer your question:
1) Whether a separate new window or a new tab, the background color is alwa2015-11-10T11:40:00-08:00charlie323https://support.mozilla.org/ga-IE/questions/1092176#answer-804494<p>To answer your question:
</p><p>1) Whether a separate new window or a new tab, the background color is always white.
</p><p>2) The blank page is the built-in Firefox new tab page, and I have long selected "Show blank page" from the drop-down menu after clicking the wheel.
</p>Oh, okay, I was taking "window" literally to mean a separate window. New windows (Ctrl+n) show your 2015-11-10T11:29:38-08:00jscher2000https://support.mozilla.org/ga-IE/questions/1092176#answer-804492<p>Oh, okay, I was taking "window" literally to mean a separate window. New windows (Ctrl+n) show your home page(s).
</p><p>Is your "new tab page" completely blank or does it have the "gear" or "wheel" icon in the corner that lets you choose between top sites and a blank page? In other words, is it the built-in Firefox new tab page, or some other page?
</p><p>To determine the internal address of the page, you can right-click it and choose View Page Info. The address should appear on the first panel ("General").
</p>I just click on that "+" to open a new tab which is a blank window, but the background color is alwa2015-11-10T11:23:27-08:00charlie323https://support.mozilla.org/ga-IE/questions/1092176#answer-804489<p>I just click on that "+" to open a new tab which is a blank window, but the background color is always white despite the fact it has already been set as black, blue, etc. On the background color setting page the selected color is always shown, but any new blank window doesn't follow it. Very strange indeed. This happened only recently when I upgraded to Firefox 42.0.
</p>Hmm, the internal blank page (named "about:blank") definitely should follow your default background 2015-11-10T11:13:58-08:00jscher2000https://support.mozilla.org/ga-IE/questions/1092176#answer-804486<p>Hmm, the internal blank page (named "about:blank") definitely should follow your default background color setting.
</p><p>How are you opening a blank window? Are you setting your home page to a blank page?
</p>Hi there,
I have created the chrome folder in the <xxxxxxxx>.default folder (C:\Documents and 2015-11-10T11:03:01-08:00charlie323https://support.mozilla.org/ga-IE/questions/1092176#answer-804484<p>Hi there,
</p><p>I have created the chrome folder in the &lt;xxxxxxxx&gt;.default folder (C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox\Profiles\vjyy1vzn.default), then moved the userContent.css file I had created earlier today into this chrome folder (file created exactly as you have said). So far it has not worked. If I still need to create a <strong>userChrome.css</strong> file in the same chrome folder, please provide the <strong>code</strong> for this file (I can't find it in your reply).
</p><p>Thank you.
</p>You need to create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if t2015-11-10T10:23:24-08:00cor-elhttps://support.mozilla.org/ga-IE/questions/1092176#answer-804462<p>You need to create the chrome folder (lowercase) in the &lt;xxxxxxxx&gt;.default profile folder if this folder doesn't exist
</p>
<ul><li>C:\Users\&lt;user&gt;\AppData\Roaming\Mozilla\Firefox\Profiles\&lt;profile&gt;\chrome\userContent.css
</li><li>Use a plain text editor like Notepad to create a (new) userContent.css file in the chrome folder (file and folder names are case sensitive)
</li></ul>
<p>Make sure to select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css to prevent Windows from adding a hidden .txt file extension that would make you end up with a not working userChrome.css.txt file.
</p>Hi there,
First I should thank you for your advice. I opened the Firefox profile folder, but there w2015-11-10T09:29:50-08:00charlie323https://support.mozilla.org/ga-IE/questions/1092176#answer-804453<p>Hi there,
</p><p>First I should thank you for your advice. I opened the Firefox profile folder, but there was no folder named "chrome" (My operating system is Windows XP). There were altogether 13 folders as follows -
</p><p>- bookmarkbackups
- crashes
- datareporting
- extensions
- gmp
- gmp-gmpopen264
- healthreport
- jetpack
- minidumps
- saved-telemetry-pings
- sessionstore-backups
- storage
- webapps
</p><p>As you can see, I couldn't determine which one is what you described as the "&lt;xxxxxxxx&gt;.default profile folder". I opened all these folders to check and found in the "storage" folder there were three folders -
</p><p>- default
- permanent
- temporary
</p><p>And I found a folder named <strong>chrome </strong> in the "permanent" folder. So I assumed this was the folder where the userContent.css file should be created. I then created such a file exactly according to your instruction (opening a notepad and pasting the code you have provided and saved it (All files) as userContent.css, but after I closed Firefox and relaunched it again, nothing changed. I checked the background color setting page, and every setting remains the same (i.e., the selected color is still shown as black, "Use system color" is ticked (un-ticking it doesn't make any difference), and "Never override the color ..." is selected). When I open a blank window, the color is still <strong>white</strong>.
</p><p>What should I try next?
</p><p>I must add that you said, "The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder." However, I thoroughly searched this folder named <strong>chrome</strong>, and there is no such a file named userChrome.css. Is this actually the problem?
</p>Maybe set the code for the about:blank page via userContent.css.
Add code to the userContent.css fil2015-11-05T03:35:01-08:00cor-elhttps://support.mozilla.org/ga-IE/questions/1092176#answer-802096<p>Maybe set the code for the about:blank page via userContent.css.
</p><p>Add code to the <b>userContent.css</b> file.
</p>
<ul><li><a href="http://kb.mozillazine.org/userContent.css" rel="nofollow">http://kb.mozillazine.org/userContent.css</a>
</li></ul>
<hr>
<pre>/* about:blank */
@-moz-document url(about:blank){ html,body {background-color: #ccc !important } }</pre>
<hr>
<p>The customization files userChrome.css (user interface) and userContent.css (websites) are located in the <b>chrome</b> folder in the Firefox profile folder.
</p>
<ul><li><a href="http://kb.mozillazine.org/Editing_configuration" rel="nofollow">http://kb.mozillazine.org/Editing_configuration</a>
</li></ul>
<p>You can use this button to go to the current Firefox profile folder:
</p>
<ul><li>Help &gt; Troubleshooting Information &gt; Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
</li><li><a href="http://kb.mozillazine.org/Profile_folder_-_Firefox" rel="nofollow">http://kb.mozillazine.org/Profile_folder_-_Firefox</a>
</li></ul>
<ul><li>Create the chrome folder (lowercase) in the &lt;xxxxxxxx&gt;.default profile folder if this folder doesn't exist
</li><li>Use a plain text editor like Notepad to create a (new) userContent.css file in the chrome folder (file name is case sensitive)
</li><li>Paste the code in the userContent.css file in the editor window
</li><li>Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userContent.css.<br>Otherwise Windows may add a hidden .txt file extension and you end up with a not working userContent.css.txt file
</li></ul>Thanks for your reply, but this doesn't solve the problem. Actually when I posted the question two d2015-11-04T20:29:44-08:00charlie323https://support.mozilla.org/ga-IE/questions/1092176#answer-801967<p>Thanks for your reply, but this doesn't solve the problem. Actually when I posted the question two days ago I had already chosen "Never" (the other two options had already been tried before and had not worked).
</p><p>As to the High Contrast theme, I have never chosen such a theme on my system (Windows XP) -- in fact the previous version of my Firefox didn't have this problem at all, i.e., if I selected a background color, then I got it right away. All this changed after I upgraded to the current version 4.20. I really should have ignored the upgrading notice!
</p>Make sure that you haven't enabled a High Contrast theme in the Windows/Mac Accessibility settings.
2015-11-04T09:17:18-08:00cor-elhttps://support.mozilla.org/ga-IE/questions/1092176#answer-801823<p>Make sure that you haven't enabled a High Contrast theme in the Windows/Mac Accessibility settings.
</p><p>Make sure that you allow pages to choose their own colors.
</p>
<ul><li>Tools &gt; Options &gt; Content&nbsp;: Fonts &amp; Colors &gt; Colors&nbsp;: "Override the colors specified by the page with my selections above"
</li></ul>
<p>Try "Never" if the default "Only with High Contrast themes" isn't working.
</p><p>This setting affects background images.
</p><p>See also:
</p>
<ul><li><a href="http://kb.mozillazine.org/Website_colors_are_wrong" rel="nofollow">http://kb.mozillazine.org/Website_colors_are_wrong</a>
</li></ul>