Address bar dropdown has transparent background

User Help for Mozilla Firefox
Post Reply
User avatar
wysocki
Posts: 46
Joined: April 8th, 2004, 4:37 pm
Location: Los Angeles

Address bar dropdown has transparent background

Post by wysocki »

I'm on v89 but for a LONG time when I click to enter a URL in the address bar, a dropdown list of suggestions appears. The problem is that the background of this dropdown list is transparent, overlapping the current web page and being very difficult to read. Any way to restore the white background on this list?


Image
morat
Posts: 6403
Joined: February 3rd, 2009, 6:29 pm

Re: Address bar dropdown has transparent background

Post by morat »

Try this:

Code: Select all

/* Firefox userChrome.css */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

#urlbar-background {
  background-color: white !important;
}
http://kb.mozillazine.org/UserChrome.css

Remember to set the toolkit.legacyUserProfileCustomizations.stylesheets preference to true, then restart.

Reference
http://searchfox.org/mozilla-release/se ... d&path=htm
User avatar
costark
Posts: 548
Joined: July 14th, 2004, 5:03 am

Re: Address bar dropdown has transparent background

Post by costark »

I Removed the Drop-Dn menu because too many members seen were usually Old & irrelevant.
Does anyone find -- their Most Recent URL's are At the Top of The List - AND - is there any known logic to -- HOW you insure Recent Url's are Shown First?

Wysocki, Ref your Top Sites Thumbnails with New, Useless White Border .....
browser.newtabpage.activity-stream.newNewtabExperience.enabled = False
W10 22H2 - SSD-HDD i5 12G -
User avatar
wysocki
Posts: 46
Joined: April 8th, 2004, 4:37 pm
Location: Los Angeles

Re: Address bar dropdown has transparent background

Post by wysocki »

@morat: That changes the background color of the url input line, NOT the dropdown list. I didn't see anything in the xhtml file you linked to that worked either (maybe I missed something?).

@costark: How did you remove the Drop-Dn menu?
User avatar
dickvl
Posts: 54145
Joined: July 18th, 2005, 3:25 am

Re: Address bar dropdown has transparent background

Post by dickvl »

Try this selector:

Code: Select all

#urlbar .urlbarView { background-color: white !important; }
You can set browser.urlbar.maxRichResults => 0 on the about:config page to control how many items to show.
User avatar
jscher2000
Posts: 11742
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: Address bar dropdown has transparent background

Post by jscher2000 »

costark wrote:I Removed the Drop-Dn menu because too many members seen were usually Old & irrelevant.
Does anyone find -- their Most Recent URL's are At the Top of The List - AND - is there any known logic to -- HOW you insure Recent Url's are Shown First?
The list that appears when you first click in the address bar, before you type anything for Firefox to match off of, changed from frecent history to Top Sites in Firefox 75, and was recently renamed Shortcuts. Either way, it is the Top Sites/Shortcuts list from the new tab page. To edit the list... https://support.mozilla.org/kb/customiz ... w-tab-page

But let's say you turned the list off, to generate a frecent history list you can type a caret (^) in the bar, or more conveniently and nearly the same, a space.
User avatar
wysocki
Posts: 46
Joined: April 8th, 2004, 4:37 pm
Location: Los Angeles

Re: Address bar dropdown has transparent background

Post by wysocki »

dickvl wrote:Try this selector:

Code: Select all

#urlbar .urlbarView { background-color: white !important; }
Thanks! That css worked perfectly.
Post Reply