UserChrome.css: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
mNo edit summary
 
(unredirect and write it up)
Line 1: Line 1:
#redirect [[userChrome.css and userContent.css]]
{{profile-file|filename=userChrome.css}}
userChrome.css in the [[chrome folder]] is a [[CSS]] file that can be used to change the way Mozilla applications' interfaces look. This file does not exist in a new profile.
 
==Editing==
This file is meant to be edited manually. Anything valid in a [[CSS]] file is valid in this file. The application must be restarted for changes to take effect (to get around this, you could use the [https://addons.mozilla.org/extensions/moreinfo.php?id=2108 Stylish extension]). For sample styles, see:
* [http://userstyles.org userstyles.org]
* [http://www.mozilla.org/support/firefox/tips#appearance Firefox Help: Tips & Tricks: Browser Appearance]
* [[:Category:Visual customizations (Firefox)]]
 
==Moving==
This file can be moved to a different profile. If it contains imports or references to other files such as images, these files should be moved along with it.
 
==Deleting==
Deleting userChrome.css will get rid of any user styles defined upon restart.
 
==Related files and folders==
* [[userChrome-example.css]]
* [[userContent.css]]
* [[userContent-example.css]]
 
==See also==
* [[Chrome element names and IDs]]
 
[[Category:Profile contents (Firefox)]]
[[Category:Profile contents (Thunderbird)]]
[[Category:Profile contents (Mozilla Suite)]]

Revision as of 19:07, 22 February 2006

userChrome.css in the chrome folder is a CSS file that can be used to change the way Mozilla applications' interfaces look. This file does not exist in a new profile.

Editing

This file is meant to be edited manually. Anything valid in a CSS file is valid in this file. The application must be restarted for changes to take effect (to get around this, you could use the Stylish extension). For sample styles, see:

Moving

This file can be moved to a different profile. If it contains imports or references to other files such as images, these files should be moved along with it.

Deleting

Deleting userChrome.css will get rid of any user styles defined upon restart.

Related files and folders

See also