cancel
Showing results for 
Search instead for 
Did you mean: 

My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

SOLVED
Highlighted
New User

My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

Yesterday all of a sudden my webpages and UI appeared to be magnified. While I can zoom out on websites, I cannot find any option to adjust the size of the UI.

I noticed that Firefox 22 (which I am running) has a new feature: "Windows: Firefox now follows display scaling options to render text larger on high-res displays". Is it possible to adjust how Firefox responds to the display scaling options perhaps?

07-27-13 - moderator locked this due to the length of this two month old thread - please post in one of the other threads discussing this issue

1 ACCEPTED SOLUTION

Accepted Solutions
Site Moderator

Re: My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

Code changes regarding HiDPI support for high resolution displays have landed in Firefox 22 and later (bug #844604).

You can modify the layout.css.devPixelsPerPx and increase or decrease the value in 0.1 or 0.05 steps to adjust the size of fonts and other elements in Firefox.

  • The layout.css.devPixelsPerPx pref is a String value parsed to a float and allows to fine tune the dimensions of all elements (user interface and web pages) more precisely (resolution 0.1 or 0.05).
  • Change the default value -1 to 1 to make it work like in previous Firefox versions (100%)

Start with a value of 1 and adjust this value with 0.1 steps or 0.05 for finer adjustments.

  • Use values between 1.0 and about 0.5 to reduce elements in size (do NOT go all the way to 0.05!)
  • Use values greater than 1.0 to magnify and make elements larger (percentage divided by DPI, % / DPI).
  • http://kb.mozillazine.org/about:config

If web pages needs to be adjusted after changing this pref then you can look at the Default FullZoom Level or NoSquint extension.

Use this extension to adjust the font size for the user interface:

99 REPLIES
Expert User

Re: My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

Hello,

The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. Note: This will cause you to lose any Extensions, Open websites, and some Preferences.

To Reset Firefox do the following:

  1. Go to Firefox > Help > Troubleshooting Information.
  2. Click the "Reset Firefox" button.
  3. Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
  4. Firefox will open with all factory defaults applied.

Further information can be found in the Refresh Firefox - reset add-ons and settings article.

Did this fix your problems? Please report back to us!

Thank you.

Site Moderator

Re: My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

Code changes regarding HiDPI support for high resolution displays have landed in Firefox 22 and later (bug #844604).

You can modify the layout.css.devPixelsPerPx and increase or decrease the value in 0.1 or 0.05 steps to adjust the size of fonts and other elements in Firefox.

  • The layout.css.devPixelsPerPx pref is a String value parsed to a float and allows to fine tune the dimensions of all elements (user interface and web pages) more precisely (resolution 0.1 or 0.05).
  • Change the default value -1 to 1 to make it work like in previous Firefox versions (100%)

Start with a value of 1 and adjust this value with 0.1 steps or 0.05 for finer adjustments.

  • Use values between 1.0 and about 0.5 to reduce elements in size (do NOT go all the way to 0.05!)
  • Use values greater than 1.0 to magnify and make elements larger (percentage divided by DPI, % / DPI).
  • http://kb.mozillazine.org/about:config

If web pages needs to be adjusted after changing this pref then you can look at the Default FullZoom Level or NoSquint extension.

Use this extension to adjust the font size for the user interface:

New User

Re: My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

Thank you, cor-el! That was exactly what I was looking for, everything looks normal again.

New User

Re: My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

WARNING!!!

This is extremely bad advice! =(

I tried 0.05 and and that broke my FF 22 installation irreversibly, since all text became unreadable.


Please Note

This is explained in the next post but is not visible from all pages so I am adding it in directly

The steps have a resolution of 0.05 (0.95 0.9 0.85 0.8)

Of course you shouldn't go back all the way to 0.05 or you would have to edit the prefs.js file
A forum moderator ~J99


Then don't post "0.05" as a value, when people ask what to put in that variable. Of course people will try it. And of course nobody would expect 0.05 to be smaller than both -1 and 1, on an unknown scale.
MatsSvensson


Fortunately i could go back to version 21.

I spent a couple of hours googling this problem, and trying various workarounds, which the web is now overflowing with. But it seems impossible to completely get FF22 not looking like shit and distorting the crap out of all websites.

Now i have turned off updating, and will stick with 21 until this idiotic garbage is removed from Firefox.

And besides, even IF i could have applied some hack, SO WHAT? 99.99999% of all users wont be able to, or wont bother to do it, or wont know its even an option, which means we then have to start designing websites that both look good on non-swollen AND swollen (Firefox) browsers!

Congratulation to making FF the new IE6.

OBVI-FU**ING-OUSLY its NOT a good idea to start telling people to apply various hacks to work around this, since this will fragment the way the same sites look in the same browsers (even more so).

The correct response is to grasp that this "feature" is broken and remove it, or fix it, an stop rolling out the broken version before it does even more damage.

How the F can they roll out something THIS epically broken? I have found posts dating back months, from people using beta versions, who reported exactly this problem. And STILL it was rolled out?

Site Moderator

Re: My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

The steps have a resolution of 0.05 (0.95 0.9 0.85 0.8)
Of course you shouldn't go back all the way to 0.05 or you would have to edit the prefs.js file

New User

Re: My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

The modification suggested above partly fixes the problem. However it also helps to show how serious an issue this is. It affects many elements of the browser window and while the fix might restore some elements others are then found to be adversely affected such as a reduced address bar font. All of my No Squint site settings are effectively lost. Some web pages cannot now be made to fit in the width of the window by zooming out such that the horizontal scroll bar always shows.

Any help to get back to Firefox version 21 would be greatly appreciated.

Mozilla Support Contributor

Re: My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

Hi john31415, could you try this mixed approach:

(1) Install the Theme Font & Size Changer extension and set the font to a larger size such as 17 (you can fine tune this later) to enlarge the chrome area (menu, toolbar, tab area) in advance of step 2.

(2) Set the layout.css.devPixelsPerPx preference to 1.0 to size the content and chrome to 96dpi. Hopefully this will be compatible with your saved NoSquint settings.

Mozilla discloses security flaws after each new release, so it's preferable not to downgrade if you can avoid it. If the above approach doesn't work for you, old versions are available from the downgrade part of the following article: Install an older version of Firefox. After NoSquint updates, you may want to try Firefox 22 again and see how they work together.

Mozilla Support Contributor

Re: My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

Hi MatsSvensson, sorry to hear about your 0.05 experience. Maybe about:config needs an "undo" command?

As currently designed, the "device pixels per CSS pixel" setting governs both the content and the chrome of the browser. I think it would be better to separate them, but I haven't searched to see whether anyone has filed a request for enhancement on that. In the short run, you could consider an add-on workaround.

Whether you choose to set layout.css.devPixelsPerPx to optimize the appearance of the content or the chrome, you can use an extension to tweak the other area to your liking.

New User

Re: My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

Hi, I have the same problem, how do you fix it? My FF it need to be looked with a microscope, I can't see any kind of text!

Any one have a solution for this? All my text now looks microscopic, how I can get it back, or modify the options?

Help! =(