Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

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

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

Changing the home background using userContent.css

  • 3 valiny
  • 1 manana an'ity olana ity
  • 1 view
  • Valiny farany nomen'i Terry

more options

So I've been checking multiple threads around the internet and wound up here and still stuck userContent.css currently looks like this

@-moz-document url-prefix(about:home), url-prefix(about:newtab), url-prefix(about:blank) {

.click-target-container *,
.top-sites-list * {
  color: #fff !important;
  text-shadow: 2px 2px 2px #000 !important ;
}
body {
 background: url(file:///C:/Users/caras/Downloads/Unknown+Mother+Goose/images/unknown.jpeg)!important;
 background-size: cover !important;
}

}

And I believe it's been placed right at C:\Users\caras\AppData\Roaming\Mozilla\Firefox\Profiles\o4wtp8si.default-release\chrome I've made sure there's no extra .css or .txt on the file, I've set toolkit.legacyUserProfileCustomizations.stylesheets to true and restarted the browser for every change I've made

So I've been checking multiple threads around the internet and wound up here and still stuck userContent.css currently looks like this @-moz-document url-prefix(about:home), url-prefix(about:newtab), url-prefix(about:blank) { .click-target-container *, .top-sites-list * { color: #fff !important; text-shadow: 2px 2px 2px #000 !important ; } body { background: url(file:///C:/Users/caras/Downloads/Unknown+Mother+Goose/images/unknown.jpeg)!important; background-size: cover !important; } } And I believe it's been placed right at C:\Users\caras\AppData\Roaming\Mozilla\Firefox\Profiles\o4wtp8si.default-release\chrome I've made sure there's no extra .css or .txt on the file, I've set toolkit.legacyUserProfileCustomizations.stylesheets to true and restarted the browser for every change I've made

Vahaolana nofidina

If the image file is in the chrome folder, the following should suffice: url("unknown.jpeg")

Hamaky an'ity valiny ity @ sehatra 👍 0

All Replies (3)

more options

Is any part of your code working? I would place the image file (or a copy) in the chrome folder with your stylesheet and change the url accordingly.

more options

Note that the best way to get the correct URL if you do not place the file in the chrome folder is to open the file in a Firefox tab and check the link in the location bar.

more options

Vahaolana Nofidina

If the image file is in the chrome folder, the following should suffice: url("unknown.jpeg")