This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Is there some setting or extension to make the "allow pages to set own fonts", minimum font size and zoom level site specific?

  • 4 replies
  • 1 has this problem
  • 7 views
  • Last reply by Luvirini

more options

Seems that youtube has taken away the ability to use the old layout with many columns so it wants to show annoyingly large things on the screen and with way too few columns. (Yes, strange enough, I want to see more than 2 columns on a 65" display)

Thus the extension that I was using earlier to force youtube to use old layout obviously no longer works.

I found that if I set the zoom to 67% and remove the checkbox that allows the site to set own fonts and sizes, along with using font 24 as minimum size seems to produce a readable text size and yet show 6 videos/column.

But I do not want to have other sites like that, so would want to apply it only to youtube as most other sites have actually fairly ok font sizes compared to other elements on the page and ok at 100% zoom level.

Seems that youtube has taken away the ability to use the old layout with many columns so it wants to show annoyingly large things on the screen and with way too few columns. (Yes, strange enough, I want to see more than 2 columns on a 65" display) Thus the extension that I was using earlier to force youtube to use old layout obviously no longer works. I found that if I set the zoom to 67% and remove the checkbox that allows the site to set own fonts and sizes, along with using font 24 as minimum size seems to produce a readable text size and yet show 6 videos/column. But I do not want to have other sites like that, so would want to apply it only to youtube as most other sites have actually fairly ok font sizes compared to other elements on the page and ok at 100% zoom level.

Chosen solution

The font settings are global, so I'll suggest a different direction.

Either Firefox (though an optional userContent.css file) or an add-on (such as Stylus) can inject style rules directly into pages on specific sites to supplement and override their built-in rules. This often takes a lot of experimentation to get just right, and obviously our monitor situations are very different, so it's difficult to compare directly.

In case no one here comes up with a formula, a good community for getting help building style rules is this one over on Reddit: https://www.reddit.com/r/FirefoxCSS/

Read this answer in context 👍 1

All Replies (4)

more options

Chosen Solution

The font settings are global, so I'll suggest a different direction.

Either Firefox (though an optional userContent.css file) or an add-on (such as Stylus) can inject style rules directly into pages on specific sites to supplement and override their built-in rules. This often takes a lot of experimentation to get just right, and obviously our monitor situations are very different, so it's difficult to compare directly.

In case no one here comes up with a formula, a good community for getting help building style rules is this one over on Reddit: https://www.reddit.com/r/FirefoxCSS/

more options

The fonts are indeed easy enough to set with a site specific style sheet.

But: According to https://developer.mozilla.org/en-US/docs/Web/CSS/zoom Firefox does not support the zoom property.

So a site specific style sheet would not work to set the zoom level for that site?

Or am I missing something?

more options

Hi Luvirini, the zoom level already is a site-specific "content preference" so you don't need a style rule for that.

more options

Thank you. Yes, that solution seemed to do the trick.