ffox – userchrome.css tweaks

**IF YOU HAVEN’T ALREADY CREATED YOUR FIREFOX USERCHROME.CSS FILE:**

The userChrome.css file isn’t there by default, so you must create it:

How to CREATE a Firefox usrchrome.css file:

1. Open xplorer2 or explorer and Navigate to your Firefox profile folder:

(MAKE SURE HIDDEN FILES ARE SHOWN)

  • VISTA: C:\Users\<Windows login/user name>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile folder>.
  • XP / 2000: C:\Documents and Settings\<Windows login/user name>\Application Data\Mozilla\Firefox\Profiles\<profile folder>

2. Open the folder called “chrome”

3. Create a new file — (In xporer2: select F7 or right click an empty spot, and choose “new file”.)

4. Name it: userchrome.css

* To open and edit the userchrome.css file: double click on it.

_____________________________________________________________________________________________________

How to leave comments in your userchrome.css -
Comments are used to remind you what the code is for. Comments must be written using the /* (forward slash and star) as shown below:

userChrome.css comment example:

/* Type the Slash and star before your comment (single and multi-line), like this!

_____________________________________________________________________________________________________

*****USERCHROME.CSS TWEAKS*******USERCHROME.CSS TWEAKS*******USERCHROME.CSS TWEAKS******

CHANGE BOOKMARK FOLDER ICONS:

1. Save a 16×16 .png icon in your chrome folder of your Firefox profile.

2. Rename it to the name of the folder label you are changing the icon for.

3. Edit this code, by substituting both Sites text for the label/name of your folder (it is case sensitive). And PASTE it into your userchrome.css file.

/* Change bookmark folder icon */

.bookmark-item[container="true"][label="Sites"] {
list-style-image: url(“Sites.png”) !important;
-moz-image-region: rect(0px 16px 16px 0px) !important;

}

4. Save.

5. Restart Firefox.

6. Repeat above for each additional folder icon you wish to change.

_____________________________________________________________________________________________________

MORE USERCHROME TWEAKS IN COMMENTS BELOW:

Just copy and paste the ones you want to use into your userchrome.css file and save. Restart Firefox.

7 Responses to “ffox – userchrome.css tweaks”

  1. wimsical Says:

    /* Remove the History, Edit, Help, View Menus */
    #history-menu, #edit-menu, #helpMenu, #view-menu { display: none !important; }

  2. wimsical Says:

    /* Remove the Bookmark star */
    #star-button { display: none !important; }

  3. wimsical Says:

    /* Force text to wrap when it is longer than the screen width */
    pre { white-space: -moz-pre-wrap; }
    html, body { width: 100% !important; }

  4. wimsical Says:

    /* Keep GO button displayed always */
    #urlbar[pageproxystate="valid"] > #urlbar-icons > #go-button { visibility: visible !important; }

  5. wimsical Says:

    /*::::::::::::::Invisible Menubar::::::::::::

    How to use it: Move all your Navigation Toolbar items (back/forward buttons, address bar, search bar etc. from the navigation toolbar to the Menu Bar, either on the right side or left side of the Menu Items. Now past this code in userChrome.css and restart your browser. You will no longer see the menu items. Now hover at the right/left edge of the menu bar (whichever side the menu items were on) and the menu items will appear. You can now hide the navigation bar and save vertical space
    ::::::::::::::*/

    #menubar-items {
    padding-left: 5px !important;
    }

    #menubar-items > #main-menubar {
    margin-left: -9000px !important;
    }

    #menubar-items:hover > #main-menubar {
    margin-left: 0 !important;
    }

    #menubar-items:hover {background-image: none !important; padding-left:0 !important;}

  6. Jane Says:

    how to remove that STOOPID reference under Tools/Options
    “error console”

  7. about:config edits « Help 4 Dummies Says:

    If you also want to keep your BOOKMARK Bar visible during fullscreen mode, add this line to your userchorme.css file: #PersonalToolbar {visibility: visible !important;}


Leave a Reply