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 am using a GTK theme with some dark elements, which causes problems in some applications. One of them is Firefox: the URLs in the drop-down menu of the address bar are dark blue on a black background, as in the picture:

enter image description here

How can I change this color, or the background color, without changing my GTK theme? I remember that once was possible to do with the userChrome.css file, but I can't find it again.

I am using Firefox 14.0.1 under Linux.

share|improve this question
up vote 2 down vote accepted

Based on this answer, installing Stylish and the Firefox fix for Shiki-Colors the problem is solved without needing to tinker with .css files.

how looks like now

share|improve this answer

The solution to this without installing add-ons is to modify userChrome.css.

If userChrome.css doesn't already exist in your profile/chrome/ folder (or if the chrome folder doesn't exist either) you have to create it:

<profile>/chrome/userChrome.css

Then add something like:

.autocomplete-richlistbox {
        background: #808080 !important;
        color: #000000 !important;
}

And restart Firefox.

share|improve this answer

In case someone still has this problem, here's my style for Stylish to fix the blue links in Numix theme.

http://sprunge.us/gNcU

Here's how it looks like now:

Firefox Numix fix

share|improve this answer

You must log in to answer this question.

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