MozillaZine

Theme and Font Chavger Addon not compatible with FF 57.0

User Help for Mozilla Firefox
Eckard

User avatar
 
Posts: 1277
Joined: September 5th, 2011, 8:17 am
Location: Paris (not TX)

Post Posted November 15th, 2017, 9:29 am

kls490 wrote:
MUCH OBLIGED for the code/instructions you provided. They appear to work, as the text shown in tabs, toolbar, & Bookmarks, is now back to a larger, readable size. The only difference is (With the Theme & Font Size Changer Addon), I was also able to display the text in bold font which further enhanced my ability to read it.
You can add this code line

Code: Select all
font-weight: bold !important;

to the abode code.
If you prefer another font family, add for example

Code: Select all
font-family: Times New Roman !important;

kls490

User avatar
 
Posts: 19
Joined: June 14th, 2013, 3:57 am
Location: Mid-Atlantic Region (United States)

Post Posted November 15th, 2017, 9:46 am

Hi Eckard, and thanks very much for the additional follow-up code! (Which, needless to say...I'm not the least bit familiar with).

I added the code you provided for displaying text in BOLD font beneath the last line of code. (Coding now looks as follows):

Code: Select all
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

/* Global UI font */
* { font-size: 12pt !important; }
font-weight: bold !important;


Hope that is how I was supposed to enter it? (Not sure I got it right).

Cheers & thanks again!

kls490

Eckard

User avatar
 
Posts: 1277
Joined: September 5th, 2011, 8:17 am
Location: Paris (not TX)

Post Posted November 15th, 2017, 10:13 am

kls490 wrote:I added the code you provided for displaying text in BOLD font beneath the last line of code. (Coding now looks as follows):

Code: Select all
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

/* Global UI font */
* { font-size: 12pt !important; }
font-weight: bold !important;


Hope that is how I was supposed to enter it?
No, you'd have to add the code for bold font before the final curly bracket }
So the code should look like this :

Code: Select all
/* Global UI font */
* { font-size: 12pt !important;
font-weight: bold !important; }

kls490

User avatar
 
Posts: 19
Joined: June 14th, 2013, 3:57 am
Location: Mid-Atlantic Region (United States)

Post Posted November 15th, 2017, 10:27 am

Many thanks for the additional info, Eckard!

I made the change you indicated, and now all the text appears in BOLD font...just as it used to look. What a relief!

MUCH obliged again for all your time, patience and help!

kls490

Eckard

User avatar
 
Posts: 1277
Joined: September 5th, 2011, 8:17 am
Location: Paris (not TX)

Post Posted November 15th, 2017, 10:33 am

You're welcome ;)

BuddhaNature

User avatar
 
Posts: 106
Joined: January 3rd, 2008, 9:44 am

Post Posted November 17th, 2017, 1:01 pm

Thanks, Eckard. Some great info here and I've applied some to my own Firefox. As of getting Firefox 57.0 installed I've done some userChrome.css tweaking of Firefox for the first time in my life - just using snippets of code posted on the forum by knowledgeable folks like yourself. I'm now really happy that 57.0 forced me into doing this. I've learnt more today about Firefox than I have in the past God knows how many years.

By any chance could you point me to some websites that will help me in learning this userChrome.css coding for Firefox properly. (I think it looks like it is worth the effort to learn a little bit more.)

Also is it possible to force Firefox to reload the user.Chrome.css without restarting Firefox?

Also are there other programs that use this "css" (if that is what is called) coding? What does "css" stand for?

Eckard

User avatar
 
Posts: 1277
Joined: September 5th, 2011, 8:17 am
Location: Paris (not TX)

Post Posted November 17th, 2017, 3:23 pm

BuddhaNature wrote:Also are there other programs that use this "css" (if that is what is called) coding?
I don't know.

What does "css" stand for?
Cascading Style Sheets https://developer.mozilla.org/en-US/docs/Web/CSS

By any chance could you point me to some websites that will help me in learning this userChrome.css coding for Firefox properly.

https://developer.mozilla.org/en-US/doc ... _Reference
Examples (caution: some of the userchrome tweaks might be outdated since they were written for earlier FF versions):
https://www-archive.mozilla.org/unix/cu ... ml#usercss
http://www.linnhe2.free-online.co.uk/fi ... hrome.html
http://www.kennettm.free-online.co.uk/T ... weaks.html
http://www.dslreports.com/forum/r180164 ... -for-Fx-Tb
and searching the WWW with your preferred search engine ...

Also is it possible to force Firefox to reload the userChrome.css without restarting Firefox?
Unfortunately no.
Before FF 56 it was possible to use the css codes with the "Stylish" add-on instead of the userChrome.css file.
The "styles" created with Stylish did not need restarts of FF which was an immense advantage compared with the userChrome.css file.

BuddhaNature

User avatar
 
Posts: 106
Joined: January 3rd, 2008, 9:44 am

Post Posted November 17th, 2017, 3:26 pm

Okay, Eckard. Many thanks, much appreciated.

Negativeions
 
Posts: 239
Joined: September 17th, 2003, 12:07 pm

Post Posted November 17th, 2017, 10:36 pm

You know what would be pretty brilliant maybe? Not sure if it's possible, but a visual userChrome code injector/editor add-on. It could have a page with all these options to change things and you could see what the browser would look like before a restart as well as see what code would be injected into userChrome and even edit userChrome if need be right then and there.

fxfan313
 
Posts: 320
Joined: November 2nd, 2005, 4:12 am

Post Posted November 18th, 2017, 4:56 am

Eckard wrote:
Gubbio wrote: Thus far, I am unable to get it to work.

The code works for me in the Firefox 57 Mac version.
Frequent errors are :
the capital C in userChrome.css omitted,
the file has a .txt suffix, e.g. userChrome.txt or userChrome.css.txt,
you didn't put the userChrome.css file in the the chrome folder or you didn't put the chrome folder in the profile folder,
you didn't restart Firefox.


Very grateful not just for the code and directions but also for the above troubleshooting information. I fell for the ".css.txt" boo-boo before your suggestion. Tabs, address bar, and Bookmarks Toolbar are all better now. Thanks VERY much.

Return to Firefox Support


Who is online

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