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

How can I effectively enlarge font size in Firefox?

  • 2 cavab
  • 9 have this problem
  • 8 views
  • Last reply by lordruler

more options

My laptop resolution is 1900x1200 so the default font size is very small.

I tried to increase the font size through Preferences>Content>Default font BUT it doesn't work well with a lot of sites. It corrupts the layouts so I had to change it back to default.

Then, I used Ctrl+- for zoom feature but that ruins the quality of images in website, and once you restart the zoom is gone.

So, is there anyway around this?

My laptop resolution is 1900x1200 so the default font size is very small. I tried to increase the font size through Preferences>Content>Default font BUT it doesn't work well with a lot of sites. It corrupts the layouts so I had to change it back to default. Then, I used Ctrl+- for zoom feature but that ruins the quality of images in website, and once you restart the zoom is gone. So, is there anyway around this?

Modified by lordruler

All Replies (2)

more options

You can increase the String pref layout.css.devPixelsPerPx from 1.0 to 2.0 in 0.1 steps to see what works best.

In Firefox 3.6 and later this pref is a String value parsed to a float and allows to fine tune the dimensions of all elements more precisely.

To open the about:config page, type about:config in the location (address) bar and press the "Enter" key, just like you type the url of a website to open a website.
If you see a warning then you can confirm that you want to access that page.

Modified by cor-el

more options

Forgive me for replying late, but "layout.css.devPixelsPerPx" is currently -1 in my browser.

Both status and type are empty.

Should I still increase 1.0 or 2.0 myself or is there something wrong with my browser in the first place?

Thank you.