LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-27-2007, 02:31 PM   #1
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Rep: Reputation: 30
Change URL Address Bar Font in Firefox


Hey,

I'm having trouble (or finding it impossible) to change the font and size of the URL Bar in Firefox, it looks too big at the moment and not at all in fitting with the rest of my theme. I've messed around with the fonts in preferences, the fonts in about:config, and the fonts in userChrome.css. Here is my userChrome.css, does anybody know how to change the size and font of the address bar??

Quote:
@import url("chrome://global/skin/subskin/iTunes.css");
@import url("chrome://global/skin/subskin/Brushed.css");
@import url("chrome://global/skin/subskin/BrushedButton.css");
/* The following four lines were added by KDE */
scrollbarbutton[sbattr="scrollbar-up-top"] { display: -moz-box !important; }
scrollbarbutton[sbattr="scrollbar-down-top"] { display: none !important; }
scrollbarbutton[sbattr="scrollbar-up-bottom"] { display: -moz-box !important; }
scrollbarbutton[sbattr="scrollbar-down-bottom"] { display: -moz-box !important; }
/*===========================================================================
* Author: G
*==========================================================================*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/*===========================================================================
* Main Window Edits
*==========================================================================*/
window {
font-family: "Lucida Grande", LucidaMAC, Segoe UI, Helvetica, tahoma, sans-serif !important;
font-weight: normal !important;
font-size: 7.5pt;
}

#sidebar {
font-family: "Lucida Grande", LucidaMAC, Segoe UI, Helvetica, tahoma, sans-serif !important;
font-weight: normal !important;
font-size: 7.5pt;
}

/*===========================================================================
* Dialog Box Edits
*==========================================================================*/
dialog, box, button, page {
font-family: "Lucida Grande", LucidaMAC, Segoe UI, Helvetica, tahoma, sans-serif !important;
font-weight: normal !important;
font-size: 7.5pt;
}

label {
font-family: "Lucida Grande", LucidaMAC, Segoe UI, Helvetica, tahoma, sans-serif !important;
font-weight: normal !important;
font-size: 7.5pt;
}

caption {
font-family: "Lucida Grande", LucidaMAC, Segoe UI, Helvetica, tahoma, sans-serif !important;
font-weight: normal !important;
font-size: 7.5pt;
}

textbox {
font-family: "Lucida Grande", LucidaMAC, Segoe UI, Helvetica, tahoma, sans-serif !important;
font-weight: normal !important;
font-size: 7.5pt;
}

/*===========================================================================
* Menu Edits
*==========================================================================*/
menubar > menu {
font-family: "Lucida Grande", LucidaMAC, Segoe UI, Helvetica, tahoma, sans-serif !important;
font-weight: normal !important;
font-size: 7.5pt;
}

menupopup > * {
font-family: "Lucida Grande", LucidaMAC, Segoe UI, Helvetica, tahoma, sans-serif !important;
font-weight: normal !important;
font-size: 7.5pt;
}

/*===========================================================================
* Toolbar Edits
*==========================================================================*/
/* Reduce the space between text and borders */
toolbarbutton.bookmark-item {
padding: 1px !important;
}

/* Change the font style on the bookmark toolbar */
.toolbarbutton-text {
font-size: 8pt !important;
font-family: Tahoma !important;
/* color: #ffffff !important; */
color: #000000 !important;
}

/*===========================================================================
* Tab Edits
*==========================================================================*/
/* change the font style on the tabs */
.tab-text {
font-family: "Lucida Grande", LucidaMAC, Segoe UI, Helvetica, tahoma, sans-serif !important;
font-weight: normal !important;
font-size: 7.5pt;
}

/* make inactive tabs hardly visible */
tab:not([selected="true"]) {
-moz-opacity: 0.5 !important;
}

.tabbrowser-strip tab:not([selected="true"]) .tab-text {
font-family: "Lucida Grande", LucidaMAC, Segoe UI, Helvetica, tahoma, sans-serif !important;
font-weight: normal !important;
font-size: 7.5pt;
}

toolbarbutton.bookmark-item,
.tabbrowser-tabs .tab-text {
text-align: center !important;
font-family: "Lucida Grande", LucidaMAC, Segoe UI, Helvetica, tahoma, sans-serif !important;
font-weight: normal !important;
font-size: 7.5pt;
}

/* hide the text of the inactive tabs */
/*
.tabbrowser-strip tab:not([selected="true"]) .tab-text {
display: none !important;
}
*/

/* never show "Open in New Window" when right clicking */
#context-openlink {
display: none !important;
}

/*Change urlbar font color and size*/
#urlbar
{
font-family: "Lucida Grande", LucidaMAC, Segoe UI, Helvetica, tahoma, sans-serif !important;
font-weight: normal !important;
font-size: 7.5pt;
-moz-appearance: none !important;
-moz-border-radius: 3px !important;
padding-right: 1px !important; }
}


/*===========================================================================
* Throbber Edits
*==========================================================================*/
/* change the throbber icons */
/*
#navigator-throbber {
list-style-image : url("../../../../icons/icon20_s.jpg") !important;
}

#navigator-throbber[busy="true"] {
list-style-image : url("inukag_gif.gif") !important;
}
*/

/*===========================================================================
* Turn off the dropdown functionality of the URL and search bars
*==========================================================================*/
/*
autocomplete-history-dropmarker {
display:none !important;
}
.autocomplete-tree {
display:none !important;
 
Old 12-28-2007, 07:18 AM   #2
townie
Member
 
Registered: Oct 2007
Distribution: Ubuntu 8.10 beta and Debian etch
Posts: 75

Rep: Reputation: 15
hi
there might be a way of changing the font thought a con fig file but the easiest way might be to have a look at all the different themes and for Firefox. i had a look and i found a couple with different fonts in the URL bar as well as the very top header

 
Old 12-28-2007, 08:56 AM   #3
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Original Poster
Rep: Reputation: 30
Hey,

I'd tried lots of other themes and wasn't really happy with any of them. I sorted out the problem though by extracting the .xpi file for the theme and changing the preferences in the .css files, rezipping, renaming it back to a .xpi and reinstalling. Sorted.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox Configuration via url address box b18b Linux - Software 3 02-06-2007 05:36 PM
Firefox Address bar problem iain.ross SUSE / openSUSE 2 03-23-2005 03:08 PM
Firefox - Autohighlight search and address bar notregistered Linux - General 2 03-01-2005 03:40 PM
firefox address bar marsques Linux - Software 3 07-23-2004 09:37 AM
How do you delete the URL List in the address bar of Galeon/ Konqueror arun79 Linux - Software 4 03-04-2004 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration