Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to be able to change the default CSS used by chrome, such as removing the underlines for links, etc. However, I cannot find the default CSS file used by Chrome. Does anyone know where it is?

share|improve this question
If you are a developer, I recommend not to do this since it changes the default value of css. – nXqd Jun 1 '12 at 14:38

(Update 2014) Since support of user stylesheets was recently removed from Google Chrome, the only option for this moment is to use extensions (like Stylish), but these will behave differently (see below).

The most relevant request for re-inroducing true user style-sheets in Google Chrome is Issue 347016: Support user stylesheets.

Per specification, "true user style-sheet" rule has lower origin specificity in cascade than author rule, but !important user style-sheet rules has higher origin specificity than !imortant author rule, regardless its selector specificity.

Extensions mimicking user style-sheets in Chrome simply injects (hopefully) last style element into page, what have some consequences:

  • such style is at "author level" in the cascade, so you must make sure your !important rule has higher specificity than one you want to override
  • "your" injected style is exposed to page scripts, so they can easily delete it at will.

(Following original answer is now obsolete.)

Afaik it is not possible to tweak the UA css itself, but you can make a global userstyle: start Chrome once with --enable-user-stylesheet. This will create <user-data-dir>/<profile>/User StyleSheet/Custom.css which you can use (changes are propagated immediately).

share|improve this answer
This doesn't seem legit with current Chromium. They may have taken this feature out since this answer was posted. – Pistos Mar 20 '14 at 15:38
You are right, I've updated the answer. – myf Mar 23 '14 at 23:27

You can have a look at this discussion : Issue 2393: Support user stylesheet

At the very end they mention that the --enable-user-stylesheet parameter when starting Chrome would enable custom stylesheets..

share|improve this answer

The only solution I can think of it to use a Greasemonkey script that adds a style entry to every html page which turns off the underlines for links. Something like:

<style> a {text-decoration:none} </style>

This article can apparently get you started:
HOW TO: Install Google Chrome Greasemonkey Scripts (Windows Only)

share|improve this answer
I find it funny that I can't directly modify the CSS. Firefox has userChrome.css and userContent.css, which make modifying look and feel insanely simple. – George IV Oct 8 '09 at 20:17
@harrymc - I switched your <style> code from the blockquote to the code so that you don't have to worry about the "extra spaces" – Jared Harley Dec 23 '09 at 2:37

You can change chromes css ui style. Just remember if you change it, some effects like Example: #footer {color:#5F5F5F !important;} will change on every site that uses #footer. You been warned. Custom.css changes almost everything in chromes browsers

Windows XP Google Chrome:

C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Google\Chrome\User Data\Default


C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Chromium\User Data\Default\User StyleSheets

Windows 7 or Vista (help in help section) Google Chrome:

C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\User StyleSheets


C:\Users\%USERNAME%\AppData\Local\Chromium\User Data\Default\User StyleSheets

Mac OS X Google Chrome:

~/Library/Application Support/Google/Chrome/Default/User StyleSheets


~/Library/Application Support/Chromium/Default/User StyleSheets

Linux Google Chrome:

~/.config/google-chrome/Default/User StyleSheets



Chrome OS


Want proof check out my theme for the program editor

Feel free to check me out, i create UI style sheets or random sites like facebook google.etc, and make them black & red.

share|improve this answer
That won’t work because Chrome 33 dropped support for user styles. – Synetech Mar 27 '14 at 4:51

If you are interested in customizing particular web sites, you can use greasemonkey style user scripts.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .