You are not logged in.
Then add to the userContent.css file:
@-moz-document domain(youtube.com) { name_of_the_element { color: red !important; } }
I don't have a usercontent.css. If I want to use one, where does it go, in my theme or in Firefox profile folder? I got the dark text sorted out by just changing the text colour in Firefox settings, but I don't know if that will have any undesirable effects on other sites.
Offline
The files usrContent.css (for content) and user.Chrome.css (for user interface) are located in the Firefox profile folder ~/.mozilla/firefox/XXXXXX.default-release/chrome (replace XXXXXX with your folder name - profile names are different for everyone).
1) Open your Firefox profile folder ~/.mozilla/firefox/XXXXXX.default-release.
2) Then create a chrome folder inside.
3) Open the chrome folder and create userContent.css and user.Chrome.css files.
Note *
4) To improve performance, Firefox 69 and later have disabled loading of userChrome.css and userContent.css by default.
You will need to do is set the pref toolkit.legacyUserProfileCustomizations.stylesheets to true in about:config.
Now you can try my YouTube search box code.
https://forums.bunsenlabs.org/viewtopic … 37#p140037
If it works, then you did everything right.
Unfortunately, as I said before:
If the above tips don't help, the solution is to use a custom userContent.css file for the YouTube domain.
But that is a completely different and even more complicated topic.
P.S.
These guys are doing a great job and you can learn a lot from them:
https://github.com/Aris-t2/CustomCSSforFx/tree/master
https://github.com/MrOtherGuy/firefox-csshacks
If people would know how little brain is ruling the world, they would die of fear.
Offline
^You wouldn't. It's noscript that causes the hanging till you enable jnn-pa.googleapis.com.
Well that makes sense
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Thanks marens.
That works perfectly mate. Search box was OK for me so I just had to do the .css for the comment box. If anyone else needs it, the element name is:
yt-formatted-string
The about:config setting was already 'true' for me.
Offline
Very nice, @novice.
Thanks for sharing the solution with others.
Is there a dot missing at the beginning of the element yt-formatted-string?
Anyway, you can add [SOLVED] to the thread title If all is well.
If people would know how little brain is ruling the world, they would die of fear.
Offline
No, I've had another look just to make sure, it's just like that. Thanks.
Offline