userContent.css doesn't work!

Discussion of general topics about Mozilla Firefox
Post Reply
robert200
Posts: 8
Joined: September 26th, 2016, 4:52 am

userContent.css doesn't work!

Post by robert200 »

Hi

I create Chrome folder for Firefox (50.0.2) in the following path:

C:\Users\*\AppData\Roaming\Mozilla\Firefox\Profiles\*\chrome

I want to change the following website:

http://learnthat.com/

Code: Select all

p,h1,h2 { 
	font-family: verdana !important;
	background-color: #F0F5F5 !important;
  }
or

Code: Select all

* { 
	font-family: verdana !important;
	background-color: #F0F5F5 !important;
  }
It doesn't work.

Likewise there are in thunderbird:

subjectCol
dateCol
threadTree
msgHeaderView , ....

Please put a list of complete this elements both for Firefox and Thunderbird with comment.

Thanks
User avatar
dfoulkes
Posts: 22525
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Re: userContent.css doesn't work!

Post by dfoulkes »

I'm not much in css coding... but I ask this...

In that chrome folder... what is the name of the file that you put that code in? ... and you might want to post here 'all' the lines that you have in that file ...

Sorry... I didn't remember that your title included that file.
Last edited by dfoulkes on December 6th, 2016, 2:58 pm, edited 1 time in total.
As you can see she's (The CAT) always alert and on the prowl for Meoware !!
User avatar
dfoulkes
Posts: 22525
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Re: userContent.css doesn't work!

Post by dfoulkes »

robert200 ... sorry... I forgot that you included that file name in your topic title...
Until help comes along maybe something in here will help...
Customizing Mozilla

Frank... not sure about SeaMonkey ... but in Firefox the 'folder-name' can be either... My chrome-folder works fine in both of my profiles... maybe you were thinking of the cap 'C' for the userChrome.css file ...or the other one?
As you can see she's (The CAT) always alert and on the prowl for Meoware !!
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: userContent.css doesn't work!

Post by therube »

32 or 64-bit FF?
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
User avatar
Frank Lion
Posts: 21178
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: userContent.css doesn't work!

Post by Frank Lion »

dfoulkes wrote:... maybe you were thinking of the cap 'C' for the userChrome.css file ...or the other one?
Yep, maybe I was thinking of userContent.css. The code above is valid enough and should/will work if placed in the right file.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
User avatar
BruceAWittmeier
Posts: 3076
Joined: June 9th, 2008, 10:53 am
Location: Near 37.501685 -80.147967

Re: userContent.css doesn't work!

Post by BruceAWittmeier »

Is there a reason you are changing your entire browser .css rather than the site specific style.css file for the site?

In the style.css file adding this code it will change the background of the specific fields but not the font (don't know why):

Code: Select all

p, h1, h2  {
       font-family: Kredit !important;
       background-color: red  !important;
      }

Using this code in the style.css file it will alter the entire page including changing the font:

Code: Select all

    * {
       font-family: Kredit !important;
       background-color: red !important;
      }

Edit: Error msg
SyntaxError: expected expression, got '<'[Learn More] piwik.htm:1
JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.js:2:542
NS_ERROR_UNEXPECTED: _IDqWBiKXtV_002.htm:3
NS_ERROR_UNEXPECTED: like_box.htm:8
I often take a long windy road to my destination. Upon arrival, I wonder how I missed the shortcut.
Post Reply