userChrome.css and userContent.css

User Help for Seamonkey and Mozilla Suite
User avatar
The.Purple.Hippo
Posts: 1122
Joined: February 26th, 2007, 4:49 pm
Location: Cartoon Land

userChrome.css and userContent.css

Post by The.Purple.Hippo »

I'm still using SM 2.53.12. That's the last version that's stylish 2.1.1 will work. After that its a no go. So I thought I would put all the styles in userChrome.css and userContent.css files. Well, that didn't work, and its beyond me to figure out what's wrong. So, is there someone out there that I can email the files to, and you can look at them, and fix them. If so then PM me with your email address and I'll send them out right away.

Thanks
Anonymosity
Posts: 8779
Joined: May 7th, 2007, 12:07 pm

Re: userChrome.css and userContent.css

Post by Anonymosity »

The userChrome.css and userContent.css files have to be in a subfolder in the profile named "chrome". Actually, I have files in the chrome folder in SeaMonkey named userChrome-example.css and userContent-example.css. These give useful hints as to how to use the files. Do you not have those in your profile?
User avatar
The.Purple.Hippo
Posts: 1122
Joined: February 26th, 2007, 4:49 pm
Location: Cartoon Land

Re: userChrome.css and userContent.css

Post by The.Purple.Hippo »

yes I know where the files go, and yes, I have example files. Its just that my styles aren't working in the User.css files. I have no idea why, it's beyond my comprehension.
User avatar
-Px-
Posts: 480
Joined: April 20th, 2011, 1:56 am

Re: userChrome.css and userContent.css

Post by -Px- »

By default, userChrome.css modifications are disabled in Firefox. You need to make sure that on the about:config page in Firefox, the toolkit.legacyUserProfileCustomizations.stylesheets preference is set to true and then restart the browser.
Or this was not ported to SeaMonkey?
frg
Posts: 1361
Joined: December 15th, 2015, 1:20 pm

Re: userChrome.css and userContent.css

Post by frg »

This pref / Bug will not be backported. Both css files are still 100% supported without shady tricks:

https://bugzilla.mozilla.org/show_bug.cgi?id=1550157
User avatar
The.Purple.Hippo
Posts: 1122
Joined: February 26th, 2007, 4:49 pm
Location: Cartoon Land

Re: userChrome.css and userContent.css

Post by The.Purple.Hippo »

frg wrote:This pref / Bug will not be backported. Both css files are still 100% supported without shady tricks:

https://bugzilla.mozilla.org/show_bug.cgi?id=1550157
Are you saying that the css files work for you?
frg
Posts: 1361
Joined: December 15th, 2015, 1:20 pm

Re: userChrome.css and userContent.css

Post by frg »

I am saying that userChrome.css and userContent.css in general are still supported without setting prefs.
User avatar
The.Purple.Hippo
Posts: 1122
Joined: February 26th, 2007, 4:49 pm
Location: Cartoon Land

Re: userChrome.css and userContent.css

Post by The.Purple.Hippo »

Then why doesn't my styles work in the css files.
hardys
Posts: 289
Joined: August 7th, 2015, 9:15 am

Re: userChrome.css and userContent.css

Post by hardys »

In my case it is working to style elements in my browser or calendar but not for external sites with @-moz-document domain()
User avatar
Frank Lion
Posts: 21172
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: userChrome.css and userContent.css

Post by Frank Lion »

hardys wrote:In my case it is working to style elements in my browser or calendar but not for external sites with @-moz-document domain()
wfm
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
User avatar
The.Purple.Hippo
Posts: 1122
Joined: February 26th, 2007, 4:49 pm
Location: Cartoon Land

Re: userChrome.css and userContent.css

Post by The.Purple.Hippo »

If its working for others then there's something wrong with my styles, and thats why I need help. Its above my head.
hardys
Posts: 289
Joined: August 7th, 2015, 9:15 am

Re: userChrome.css and userContent.css

Post by hardys »

Frank Lion wrote:wfm
Frank you are right, I forgot to restart SM after changes in the userContent.css :oops:
User avatar
Frank Lion
Posts: 21172
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: userChrome.css and userContent.css

Post by Frank Lion »

hardys wrote: I forgot to restart SM after changes in the userContent.css
It happens, especially if you've come straight from Stylish. I have a Restart extension for this, but don't forget there's a builtin Restart button in about:profiles.
The.Purple.Hippo wrote:Then why doesn't my styles work in the css files.
Without even a single example here from you then that's for you to figure out.

No one in their right mind is going to PM you to read and re-write the yards of old styles of a total stranger. That is the reality and this 'above my head' stuff is just an easy cop out.

Here's how to set up and test userChrome.css and userContent.css files -
http://forums.mozillazine.org/viewtopic ... &t=3037817
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
User avatar
The.Purple.Hippo
Posts: 1122
Joined: February 26th, 2007, 4:49 pm
Location: Cartoon Land

Re: userChrome.css and userContent.css

Post by The.Purple.Hippo »

Frank Lion wrote:Without even a single example here from you then that's for you to figure out.

No one in their right mind is going to PM you to read and re-write the yards of old styles of a total stranger. That is the reality and this 'above my head' stuff is just an easy cop out.

Here's how to set up and test userChrome.css and userContent.css files -
http://forums.mozillazine.org/viewtopic ... &t=3037817
I'm using stylish, and if my understanding is correct, styish is the same as using userChrome.css and userContent.css files. Correct. There's no rewriting. Then it should be only a matter of cut and paste, right. Wrong. I've cut and pasted and nothing happens. Thats why I need someone to go over my stuff. Maybe I'm missing a line or two. Or maybe a bracket is in the wrong area. For me, I don't know, this is above my head. I even looked in the error console and there's nothing to report there.
User avatar
DanRaisch
Moderator
Posts: 127166
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: userChrome.css and userContent.css

Post by DanRaisch »

If you post the code you are using others can check to see what's happening. If you don't want to do that we can lock this thread as no productive.
Post Reply