Author Topic: [SOLVED] Random Firefox question...  (Read 704 times)

0 Members and 1 Guest are viewing this topic.

Offline glitch

  • digital jedi
  • Sr. Member
  • ****
  • Posts: 251
  • Karma: 12
  • Gender: Male
  • age of the geek!
    • View Profile
    • Awards
[SOLVED] Random Firefox question...
« on: February 14, 2013, 11:00:03 am »
Hi all!

My current window manager theme uses dark backgrounds with white text.  The problem with this is in Firefox on certain pages, such as Youtube, the text entered into text boxes is white... on a white background.  See where I'm going?

I have gone through the prefences and selected the option to use my own colours instead of the website choosing but this maked websites like Youtube and eBay horrible to look at.

I was just wondering if anybody knows of a way I can alter the colour of the default text without having to change my window manager theme.

Cheers in advance for your help!
« Last Edit: February 23, 2013, 08:22:46 pm by glitch »
//glitch

END OF LINE_

@g1i7ch

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1421
  • Karma: 118
  • Gender: Male
    • View Profile
    • Awards
Re: Random Firefox question...
« Reply #1 on: February 14, 2013, 09:27:20 pm »
Quote
My current window manager theme uses dark backgrounds with white text.  The problem with this is in Firefox on certain pages, such as Youtube, the text entered into text boxes is white... on a white background.

I would guess that certain websites would set the textbox background colour to white but would leave the font colour to system settings
You could either force the background colour to a darker colour or force the font colour to say black.
There is a guide here  or here where you modify (or create)
 /home/user_name/.mozilla/firefox/profile.default/chrome/userChrome.css
More specifically look at changing the contents of the following (example):
input class (Single line text fields)
Code: [Select]
/* Single line text fields */
input {
 /* Set font size and family of text fields */
  color: black !important;
  /* Set background color to something a little prettier */
  background-color: rgb(200, 255, 220) !important;
}

and textarea class (Multi-line textareas)

Code: [Select]
/* Multi-line textareas */
textarea {
  color: black !important;
  background-color: rgb(200, 255, 220) !important;
}


« Last Edit: February 14, 2013, 09:44:54 pm by SeZo »

Offline glitch

  • digital jedi
  • Sr. Member
  • ****
  • Posts: 251
  • Karma: 12
  • Gender: Male
  • age of the geek!
    • View Profile
    • Awards
Re: Random Firefox question...
« Reply #2 on: February 22, 2013, 10:53:26 am »
SeZo,

Sorry for the delay in replying, I've been moving house (again)!

I've have only quickly tried what you said, and looked at the links but it didn't seem to work.  I didn't have a userChrome.css file but created one from the link and made the adjustments.

I'm going to try again over the weekend when I've got a bit of time.

Thanks
//glitch

END OF LINE_

@g1i7ch

Offline glitch

  • digital jedi
  • Sr. Member
  • ****
  • Posts: 251
  • Karma: 12
  • Gender: Male
  • age of the geek!
    • View Profile
    • Awards
Re: Random Firefox question...
« Reply #3 on: February 23, 2013, 08:22:27 pm »
SeZo,

Managed to try it again and I've got it working.

Thank you for your help!
//glitch

END OF LINE_

@g1i7ch

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1421
  • Karma: 118
  • Gender: Male
    • View Profile
    • Awards
Re: [SOLVED] Random Firefox question...
« Reply #4 on: February 23, 2013, 10:06:22 pm »
You are welcome, that is what we are here for ;)

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal