MozillaZine

Changing the color of fonts

User Help for Mozilla Firefox
Robert Lindsay
 
Posts: 46
Joined: August 14th, 2005, 10:02 pm
Location: Sierra Nevada Mountains, California

Post Posted May 14th, 2018, 11:53 am

I like to change the color of my fonts from black to more of a grey. It is so much easier on my eyes that way because there is not so much contrast. I just got a new system, so I lost all of my old settings, but before I was doing this via a setting User.content.css in a Chrome folder.

div (line 9)

{

color: #787878;

{color: #787878 !important;}



Do I need all of that? How about just

{color: #787878 !important;}


leaving out the rest. Would that be good enough? I don't know if the rest of it is necessary.

TIA!

Frank Lion

User avatar
 
Posts: 19891
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted May 14th, 2018, 12:39 pm

Robert Lindsay wrote:Do I need all of that? How about just

{color: #787878 !important;}


Nope.

Try:

Code: Select all
* {
   color: #787878 !important;}
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

Robert Lindsay
 
Posts: 46
Joined: August 14th, 2005, 10:02 pm
Location: Sierra Nevada Mountains, California

Post Posted May 25th, 2018, 6:14 am

* {
color: #787878 !important;}


Hi, this is not working. It used to work on a different system, but now it isn't. Do I need to put it in UserContent.css only or do I put it somewhere else first?

Is there an Addon that will do this for me. There is a really good one called A+ Fontsize Changer for Chrome, but there does not seem to be one for Mozilla.

Keep in mind that I want to change the font colors on all webpages in FF. Most of the UserContent hacks only change the fonts in the Mozilla interface itself.

RobertJ
Moderator

User avatar
 
Posts: 10549
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted May 25th, 2018, 6:40 am

.
FYI, the file is called

userContent.css NOT UserContent.css

and it is located in the chrome directory of your profile.

That code works for me.

.
FF 60.0.1 - FF 61b8 - FF 62a - Palemoon 27.8.1 - TB 52.7 - Mac OSX 10.13.4
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2018

Robert Lindsay
 
Posts: 46
Joined: August 14th, 2005, 10:02 pm
Location: Sierra Nevada Mountains, California

Post Posted May 25th, 2018, 6:45 am

body {
color: black !important;
}



How about this instead? Do you have to restart the browser for the changes in the userContent.css file to work?

RobertJ
Moderator

User avatar
 
Posts: 10549
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted May 25th, 2018, 7:05 am

Robert Lindsay wrote:Do you have to restart the browser for the changes in the userContent.css file to work?


Yes, and the original code from Frank Lion works just fine.


.
FF 60.0.1 - FF 61b8 - FF 62a - Palemoon 27.8.1 - TB 52.7 - Mac OSX 10.13.4
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2018

Robert Lindsay
 
Posts: 46
Joined: August 14th, 2005, 10:02 pm
Location: Sierra Nevada Mountains, California

Post Posted May 25th, 2018, 8:26 am

Trying something else here. I can set colors for text on webpages in Firefox itself in the Options.

Text and Background

Text

Background

Use System Colors

Override the colors specified by the page with your selections above

Only with High Contrast Themes
Never


I can set the color in the Text palette.

Do I check use system colors of not?

What do I select? Only with High Contrast Themes or Never?

Return to Firefox Support


Who is online

Users browsing this forum: Bing [Bot] and 8 guests