{"id":321,"date":"2012-02-09T20:59:47","date_gmt":"2012-02-09T20:59:47","guid":{"rendered":"http:\/\/joelinoff.com\/blog\/?p=321"},"modified":"2014-01-02T18:29:57","modified_gmt":"2014-01-02T18:29:57","slug":"how-to-change-the-firefox-10-address-line-urlbar-font-size","status":"publish","type":"post","link":"https:\/\/joelinoff.com\/blog\/?p=321","title":{"rendered":"How to change the firefox address line (urlbar) font size"},"content":{"rendered":"<p>I have always found the default font size for the address bar in firefox to be too small but, unlike almost all other aspects of firefox, it was a bit of a challenge to change. You had to manually edit a file called userChrome.css that lived under your home directory tree in a firefox configuration directory. That directory was named <code>~\/.mozilla\/firefox\/*.default\/chrome<\/code> under linux. On windows it was in the user AppData directory tree.<\/p>\n<p>Each time a new version of firefox was released I would go to that directory and edit the file to describe the font characteristics that I liked. <\/p>\n<p>Unfortunately, when I installed firefox 10, the chrome part of subdirectory was not present.<br \/>\n<!--more--><br \/>\nMy first thought was that the paradigm had changed but figured that I would try the old method to see whether it would work and save some search time. It did! <\/p>\n<p>The only differences between the current version and the older versions is that you have to create the chrome subdirectory and you no long have the userChrome-example.css template.<\/p>\n<p>It is very simple to do. Here are the step by step instructions.<\/p>\n<h1>Step 1. Create the chrome directory<\/h1>\n<p>First create the chrome subdirectory in your local firefox directory tree. The table below shows the location of the firefox directory tree on the platforms that I tested.<\/p>\n<table>\n<thead>\n<tr>\n<th>Platform<\/td>\n<th>Directory Path<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>LINUX<\/td>\n<td>~\/.mozilla\/firefox\/*.default\/chrome<\/td>\n<\/tr>\n<tr>\n<td>MAC OS X<\/td>\n<td>~\/Library\/Application\\ Support\/Firefox\/Profiles\/*.default\/chrome\/<\/td>\n<\/tr>\n<tr>\n<td>WINDOWS<\/td>\n<td>c:\\User\\&lt;user&gt;\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\*.default\\chrome<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>Step 2. Create userChrome.css<\/h1>\n<p>Next you need to  create the userChrome.css file in the chrome directory. The contents are the same on both platforms.<\/p>\n<p>[crayon lang=&#8221;css&#8221; toolbar=&#8221;always&#8221; title=&#8221;userChrome.css&#8221;]<br \/>\n\/* set the URL bar font characteristics *\/<br \/>\n#urlbar {<br \/>\n    font-family: monospace !important;<br \/>\n    font-size: 18pt !important;<br \/>\n    color: #4665A2 !important;<br \/>\n    \/*<br \/>\n     * This has a very interesting effect on my linux hosts,<br \/>\n     * it causes parts of the URL to be highlighted.<br \/>\n     * I tested it on Ubuntu 11.04 and CentOS 5.5.<br \/>\n     * Do NOT do this on windows. The effect is different.<br \/>\n     *\/<br \/>\n    background-color: red !important;<br \/>\n    \/*<br \/>\n     * You can change the width of your address bar using<br \/>\n     * max-width. If this is not specified it uses up<br \/>\n     * the maximum possible space.<br \/>\n     *\/<br \/>\n    \/* I prefer the default. *\/<br \/>\n    \/* max-width: 1024px !important; \/* by pixels *\/<br \/>\n    \/* max-width: 80em !important; \/* by characters *\/<br \/>\n}<br \/>\n[\/crayon]<\/p>\n<h1>Step 3. Restart Firefox<\/h1>\n<p>Finally you need to restart firefox.<\/p>\n<p>Here is what the result looks like.<br \/>\n<a href=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/02\/firefox-urlbar.png\"><img loading=\"lazy\" src=\"http:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/02\/firefox-urlbar-1024x662.png\" alt=\"\" title=\"firefox-urlbar\" width=\"584\" height=\"377\" class=\"alignnone size-large wp-image-352\" srcset=\"https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/02\/firefox-urlbar-1024x662.png 1024w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/02\/firefox-urlbar-300x194.png 300w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/02\/firefox-urlbar-463x300.png 463w, https:\/\/joelinoff.com\/blog\/wp-content\/uploads\/2012\/02\/firefox-urlbar.png 1636w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have always found the default font size for the address bar in firefox to be too small but, unlike almost all other aspects of firefox, it was a bit of a challenge to change. You had to manually edit a file called userChrome.css that lived under your home directory tree in a firefox configuration &hellip; <a href=\"https:\/\/joelinoff.com\/blog\/?p=321\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to change the firefox address line (urlbar) font size<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/321"}],"collection":[{"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=321"}],"version-history":[{"count":43,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/321\/revisions"}],"predecessor-version":[{"id":1240,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/321\/revisions\/1240"}],"wp:attachment":[{"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}