Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

New Tab Page, add a remove option for search bar

  • 3 replies
  • 2 have this problem
  • 14 views
  • Last reply by cor-el

more options

i have the chrome folder and put in the userContent.css file with these 3 files saved as all files.

 /* Disable Search box in New Tab page */
@-moz-document url(about:newtab)
{
#newtab-search-container, #newtab-search-logo { display:none !important; }
}

@-moz-document url(about:newtab){
 #newtab-margin-top, #newtab-search-container { display:none!important; }
}

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url("about:newtab") {
#newtab-search-container {
display: none !important;
}
}
but got no results. but if i go to the developer style editor i can get it to work.

any ideas?

how about firefox just make it simple in a patch with a option to turn it off!

i have the chrome folder and put in the userContent.css file with these 3 files saved as all files. <pre><nowiki> /* Disable Search box in New Tab page */ @-moz-document url(about:newtab) { #newtab-search-container, #newtab-search-logo { display:none !important; } } @-moz-document url(about:newtab){ #newtab-margin-top, #newtab-search-container { display:none!important; } } @namespace url(http://www.w3.org/1999/xhtml); @-moz-document url("about:newtab") { #newtab-search-container { display: none !important; } } </nowiki></pre> but got no results. but if i go to the developer style editor i can get it to work. any ideas? how about firefox just make it simple in a patch with a option to turn it off!

Modified by cor-el

All Replies (3)

more options

heres my screenshot of it in developer

more options
more options

A common cause for such a problem is that you have created a userContent.css.txt with a hidden .txt file extension. You can check the type via the right-click context menu in the Properties .