Could anyone help me to find the css code to change the background color of the page which opens when the "new tab " button is pushed?
I found one code through Google but it did not work. Thanks for any help.
Color of page when "new tab" button is pushed ?
-
- Posts: 15
- Joined: November 20th, 2017, 10:26 am
- Gingerbread Man
- Posts: 7735
- Joined: January 30th, 2007, 10:55 am
Re: Color of page when "new tab" button is pushed ?
Add this to your userContent.css. Replace peachpuff with the actual color you want. The change should apply when opening a new tab; if not, restart Firefox.
Code: Select all
@-moz-document url("about:newtab") {
body { background: peachpuff !important; }
}
- therube
- Posts: 21714
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: Color of page when "new tab" button is pushed ?
(Works. Based on the name, I expected it to look worse then it does .)
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
-
- Posts: 15
- Joined: November 20th, 2017, 10:26 am
Re: Color of page when "new tab" button is pushed ?
Gingerbread Man, That worked great. I first put it in the userChrome.css file and it did not work. Then I looked closer to see userContent.css location that you said.
Thanks for your help.
Thanks for your help.