UserChrome.css: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (→‎External links: linkify ChromEdit)
m (updated CSS link and removed 2nd link)
Line 1: Line 1:
{{profile-file|filename=chrome/userChrome.css}}
{{profile-file|filename=chrome/userChrome.css}}
userChrome.css in the [[Profile_folder#Folders|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. You can create it manually.
userChrome.css in the [[Profile_folder#Folders|chrome folder]] is a [[General concepts#CSS |CSS]] file that can be used to change the way Mozilla applications' interfaces look. This file does not exist in a new profile. You can create it manually.


==Editing==
==Editing==
This file is designed to be manually [[Editing configuration | edited]] using a text editor. Anything valid in a [[CSS]] file is valid in this file. To make the changes take effect, you must restart the application.
This file is designed to be manually [[Editing configuration | edited]] using a text editor. Anything valid in a CSS file is valid in this file. To make the changes take effect, you must restart the application.


For sample styles, see:
For sample styles, see:

Revision as of 20:10, 8 September 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. You can create it manually.

Editing

This file is designed to be manually edited using a text editor. Anything valid in a CSS file is valid in this file. To make the changes take effect, you must restart the application.

For sample styles, see:

Moving and copying

You can move or copy userChrome.css to a different profile. If it imports or references other files such as images, then you must also move or copy these other files. To make the changes take effect, you must restart the application.

Deleting

You can delete userChrome.css to get rid of any user styles defined there. To make the change take effect, you must restart the application.

Troubleshooting

For some information about common problems, see: Editing configuration – Troubleshooting

Related files and folders

See also

External links

  • The ChromEdit extension provides a convenient way of editing userChrome.css and other configuration files.
  • The Stylish extension provides another way to change styles in web pages and e-mails. It does not use the file userContent.css, and changes take effect without restarting the application.