X
Tap here to go to the mobile version of the site.
Scheduled maintenance: Thursday, April 2, between 3pm and 5pm UTC. This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn’t solve your issue and you want to ask a question, we have our support community waiting to help you at @firefox on Twitter

Support Forum

fix background color

Posted

Using Options>Colors>I changed the background to "Black" and left the font "White", which was the default. I wanted ONLY the BLANK homepage black. I have a dark theme made by MaDonna. Immediately something altered, FF blinked (so to speak) and next ALL pages are a black background, including ALL webpages. Using FF instructions, I got back to a white blank homepage, but all the webpages have remained black. I've tried every combination (shown on your instruction page) to get back to a "white" background on the webpages. The "Always," "Never," only on ?? themes, clearing cache, returning to defaults, & I can still change the BLANK HOMEPAGE to either black or white, but nothing changes the webpages back to their normal views - white backgrounds. The only thing I haven't done is remove all cookies, because I truly do not want to do that.

Using Options>Colors>I changed the background to "Black" and left the font "White", which was the default. I wanted ONLY the BLANK homepage black. I have a dark theme made by MaDonna. Immediately something altered, FF blinked (so to speak) and next ALL pages are a black background, including ALL webpages. Using FF instructions, I got back to a white blank homepage, but all the webpages have remained black. I've tried every combination (shown on your instruction page) to get back to a "white" background on the webpages. The "Always," "Never," only on ?? themes, clearing cache, returning to defaults, & I can still change the BLANK HOMEPAGE to either black or white, but nothing changes the webpages back to their normal views - white backgrounds. The only thing I haven't done is remove all cookies, because I truly do not want to do that.

Chosen solution

Most people here aren't "from" FF.

Note about the color of "about:blank": This can have some effects in web pages, especially text entry fields or anywhere page designers like to leave the page "blank". If the text is white-on-black, it probably isn't an issue. There are some extensions which will alter the newtabpage color (and more) without such issues.

Edit: Ah, this was one that worked well: https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/

Read this answer in context 1
Quote

Additional System Details

Installed Plug-ins

I cleared them all out to see if that would work - it didn't. Only thing left are the 2 Mozzilla plugins.

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

More Information

Question owner

No one would respond, so I finally deleted my FF browser and reinstall it.

Pro: My concern over the loss of toolbar sites & bookmarks was wasted energy. When FF reinstalled, all of it came back. That's a first!

Con: That I had to do this. IMO there is a problem in the "Colors" section. I'd still prefer a black blank homepage to save on eye strain, but not having all the webpages with black backgrounds. What a mess!

Con: That no one from FF could respond with a solution.

No one would respond, so I finally deleted my FF browser and reinstall it. Pro: My concern over the loss of toolbar sites & bookmarks was wasted energy. When FF reinstalled, all of it came back. That's a first! Con: That I had to do this. IMO there is a problem in the "Colors" section. I'd still prefer a black blank homepage to save on eye strain, but not having all the webpages with black backgrounds. What a mess! Con: That no one from FF could respond with a solution.
Was this helpful to you?
Quote
Wesley Branton
  • Top 25 Contributor
715 solutions 5635 answers

Helpful Reply

Hi! I added this question to my watch list because I was looking for some more information for you.

The Colors options in the Firefox settings are global settings, meaning that they will apply to every website. If you are looking to only adjust the background colour for the about:blank page, you will likely have more luck adding a userContent.css file to Firefox.

The userContent.css file allows you to customize the content that Firefox displays to you, so it can be used to customize the about:blank background colour.

You will need to use the following code:

@-moz-document url-prefix(about:blank) {
    * {
        background: black !important;
    }
}

If you don't already have a userContent.css file in Firefox (which you likely don't), you need to make one. This is done by first creating a chrome folder in your Firefox profile folder (if it doesn't already exist). In there is where you create your userChrome.css file, which can be done with a text editor like Windows Notepad.

Alternatively, I've uploaded a copy of the userContent.css file that you can download and paste into the chrome folder. NOTE: The download link is only valid for 7 days.

Hope this helps.

Hi! I added this question to my watch list because I was looking for some more information for you. The '''Colors''' options in the Firefox settings are global settings, meaning that they will apply to every website. If you are looking to only adjust the background colour for the <code>about:blank</code> page, you will likely have more luck adding a <code>userContent.css</code> file to Firefox. The <code>userContent.css</code> file allows you to customize the content that Firefox displays to you, so it can be used to customize the <code>about:blank</code> background colour. You will need to use the following code: <pre><nowiki>@-moz-document url-prefix(about:blank) { * { background: black !important; } }</nowiki></pre> If you don't already have a <code>userContent.css</code> file in Firefox (which you likely don't), you need to make one. This is done by first creating a <code>chrome</code> folder in your [[Profiles - Where Firefox stores your bookmarks, passwords and other user data|Firefox profile folder]] (if it doesn't already exist). In there is where you create your <code>userChrome.css</code> file, which can be done with a text editor like Windows Notepad. Alternatively, I've [https://send.firefox.com/download/6474a8983f7fb1b6/#Z4yU2BCU4-u90uMOG0fxJQ uploaded a copy of the userContent.css file that you can download] and paste into the <code>chrome</code> folder. '''NOTE:''' The download link is only valid for 7 days. Hope this helps.
Was this helpful to you? 1
Quote
crankygoat
  • Top 10 Contributor
40 solutions 471 answers

Chosen Solution

Most people here aren't "from" FF.

Note about the color of "about:blank": This can have some effects in web pages, especially text entry fields or anywhere page designers like to leave the page "blank". If the text is white-on-black, it probably isn't an issue. There are some extensions which will alter the newtabpage color (and more) without such issues.

Edit: Ah, this was one that worked well: https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/

Most people here aren't "from" FF. Note about the color of "about:blank": This can have some effects in web pages, especially text entry fields or anywhere page designers like to leave the page "blank". If the text is white-on-black, it probably isn't an issue. There are some extensions which will alter the newtabpage color (and more) without such issues. Edit: Ah, this was one that worked well: https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/

Modified by crankygoat

Was this helpful to you? 1
Quote
berwen 0 solutions 1 answers

What is this love affair with black. White type on black, black backgrounds on the settings page and so on. It is an unpleasant colour and is hard to look. What happen to good old black type.

What is this love affair with black. White type on black, black backgrounds on the settings page and so on. It is an unpleasant colour and is hard to look. What happen to good old black type.
Was this helpful to you? 0
Quote
Tommyboy 0 solutions 1 answers

berwen said

What is this love affair with black. White type on black, black backgrounds on the settings page and so on. It is an unpleasant colour and is hard to look. What happen to good old black type.

White backgrounds are painful to view when the room is dark. That is why some people including me want to use dark backgrounds.

''berwen [[#answer-1296572|said]]'' <blockquote> What is this love affair with black. White type on black, black backgrounds on the settings page and so on. It is an unpleasant colour and is hard to look. What happen to good old black type. </blockquote> White backgrounds are painful to view when the room is dark. That is why some people including me want to use dark backgrounds.
Was this helpful to you? 1
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.