You are not logged in.

#1 2011-04-02 08:54:04

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

How to change font of address bar in Firefox 4?

In v3

#urlbar  {font-size: 14px !important; font-family: Lucida Console !important;}

worked (in userChrome.css) to change the font to Lucida Console with size 14. But in v4 it doesn't do anything. I tried to find it in Google, but found nothing.

Offline

#2 2011-04-02 10:23:14

Foucault
Member
From: Athens, Greece
Registered: 2010-04-06
Posts: 214

Re: How to change font of address bar in Firefox 4?

Your snippet works for me. In fact I've been using userChrome.css to increase the urlbar and searchbar font size since version 3.0. Are you using the following line on top of your .css ?

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

Offline

#3 2011-04-02 16:11:10

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Re: How to change font of address bar in Firefox 4?

Yes, the whole file now looks like this:

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

#urlbar  {font-size: 14px !important; font-family: Lucida Console !important;}

Offline

Board footer

Powered by FluxBB