Solved Selected Text Highlights in Firefox Theme

fimble

New member
Guru
Local time
1:06 AM
Messages
925
Probably not the right forum or place but seeing as this place is full of tweakers I thought it wouldn't hurt to ask here!

I want to eliminate this blue highlight in FF (3.6 btw). It's the same for all text, and yes, it is the system colour. So I need to stop this FF theme using the system selected text highlight colour and specify my own.

a2666d7d77caaab2ef268e0e6ff2a35be459978bf4923624dde690cfbb754d2c2g.jpg


I've tried several css codes on the web to use in the chrome.css but nothing is happening so the codes I've found are obviously not right!

What I really need to know is (possibly) three things:

  • The correct code to use in the css file to (a) stop FF using system colour and using a.n.other colour. (b) Which chrome folder file to use it in, chrome.css or content.css?
    or
  • The correct code to use in about:config if that is where I should be looking.
    or
  • The correct code to search for and replace in the theme files. And a rough idea of where to find them!!

Ta in advance if anyone can help!

fimble
 

My Computer My Computer

At a glance

windows 7 ultimate
OS
windows 7 ultimate
Hi fimble. :)
Is this what you're looking to know? Hope that helps.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1AMD PHENOM II X6 1090T 3.2GHz8GB G.SKILL RIPJAWS - F3-10666CL7DSAPPHIRE ATI RADEON HD 5870 VAPOR X OC
Computer Manufacturer/Model Number
WALLONN7 / LIN BLACK SERIES II
OS
Windows 7 Ultimate x64 SP1
CPU
AMD PHENOM II X6 1090T 3.2GHz
Motherboard
GIGABYTE GA-890FXA-UD7
Memory
8GB G.SKILL RIPJAWS - F3-10666CL7D
Graphics Card(s)
SAPPHIRE ATI RADEON HD 5870 VAPOR X OC
Sound Card
REALTEK DOLBY HOME THEATER
Monitor(s) Displays
LED LG W2486L
Screen Resolution
1080p
Hard Drives
SEAGATE 1TB -ST31000528AS - AHCI MODE - AS SATA
PSU
ZALMAN ZM1000-HP 1000W
Case
THERMALTAKE XASER VI VG4000SWA
Cooling
140MM x3 / 120MM x1 AIR COOLING - THERMALTAKE
Keyboard
MICROSOFT DIGITAL MEDIA KEYBOARD 3000 - USB
Mouse
MICROSOFT BASIC OPTICAL MOUSE 2.0 - USB
Internet Speed
600KBPS
Other Info
MICROSOFT XBOX 360 CONTROLLER
They don't change it, well, in the theme I'm using anyway!

I changed the font to khaki by adding this to chrome.css
<code>
menubar > menu
{color: #E3D49C !important;}
</code> so I was optimistic that something could be done within FF.

If I change the selected items colour in Windows to lime green, I get lime green in system file / folders text select etc.. I also get lime green on selecting text on web pages.

But that menu bar stays bloody blue!!
 

My Computer My Computer

At a glance

windows 7 ultimate
OS
windows 7 ultimate
They don't change it, well, in the theme I'm using anyway!

I changed the font to khaki by adding this to chrome.css
<code>
menubar > menu
{color: #E3D49C !important;}
</code> so I was optimistic that something could be done within FF.

If I change the selected items colour in Windows to lime green, I get lime green in system file / folders text select etc.. I also get lime green on selecting text on web pages.

But that menu bar stays bloody blue!!

And if you turn off the theme you are using for a while? It works?
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1AMD PHENOM II X6 1090T 3.2GHz8GB G.SKILL RIPJAWS - F3-10666CL7DSAPPHIRE ATI RADEON HD 5870 VAPOR X OC
Computer Manufacturer/Model Number
WALLONN7 / LIN BLACK SERIES II
OS
Windows 7 Ultimate x64 SP1
CPU
AMD PHENOM II X6 1090T 3.2GHz
Motherboard
GIGABYTE GA-890FXA-UD7
Memory
8GB G.SKILL RIPJAWS - F3-10666CL7D
Graphics Card(s)
SAPPHIRE ATI RADEON HD 5870 VAPOR X OC
Sound Card
REALTEK DOLBY HOME THEATER
Monitor(s) Displays
LED LG W2486L
Screen Resolution
1080p
Hard Drives
SEAGATE 1TB -ST31000528AS - AHCI MODE - AS SATA
PSU
ZALMAN ZM1000-HP 1000W
Case
THERMALTAKE XASER VI VG4000SWA
Cooling
140MM x3 / 120MM x1 AIR COOLING - THERMALTAKE
Keyboard
MICROSOFT DIGITAL MEDIA KEYBOARD 3000 - USB
Mouse
MICROSOFT BASIC OPTICAL MOUSE 2.0 - USB
Internet Speed
600KBPS
Other Info
MICROSOFT XBOX 360 CONTROLLER
Found it!!! It's easy to find. Once I knew the correct terminology to punch in to locate32 search I'd got sorted in 30 seconds. It's the other three days of trying to find thsat terminology that bugged me!

Here's the code that was in the menu.css file of the custom theme I'm using:
<code>
/* ..... Menubar Select Highlight Colur ..... */
menubar > menu[_moz-menuactive="true"],
menubar > menu[_moz-menuactive="true"][open="true"]{
color: -moz-menubarhovertext;
padding: 0px 3px 0px 2px;
background-color : #980000 !important;
color: black !important;
border: 1px solid #580000;
}
</code>

Thanks for your help though Wallon 7. You must have inspired me!
 

My Computer My Computer

At a glance

windows 7 ultimate
OS
windows 7 ultimate
You're welcome! :)
And thanks a lot for your encouraging words! ;)
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1AMD PHENOM II X6 1090T 3.2GHz8GB G.SKILL RIPJAWS - F3-10666CL7DSAPPHIRE ATI RADEON HD 5870 VAPOR X OC
Computer Manufacturer/Model Number
WALLONN7 / LIN BLACK SERIES II
OS
Windows 7 Ultimate x64 SP1
CPU
AMD PHENOM II X6 1090T 3.2GHz
Motherboard
GIGABYTE GA-890FXA-UD7
Memory
8GB G.SKILL RIPJAWS - F3-10666CL7D
Graphics Card(s)
SAPPHIRE ATI RADEON HD 5870 VAPOR X OC
Sound Card
REALTEK DOLBY HOME THEATER
Monitor(s) Displays
LED LG W2486L
Screen Resolution
1080p
Hard Drives
SEAGATE 1TB -ST31000528AS - AHCI MODE - AS SATA
PSU
ZALMAN ZM1000-HP 1000W
Case
THERMALTAKE XASER VI VG4000SWA
Cooling
140MM x3 / 120MM x1 AIR COOLING - THERMALTAKE
Keyboard
MICROSOFT DIGITAL MEDIA KEYBOARD 3000 - USB
Mouse
MICROSOFT BASIC OPTICAL MOUSE 2.0 - USB
Internet Speed
600KBPS
Other Info
MICROSOFT XBOX 360 CONTROLLER
Back
Top