Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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.

കൂടുതലറിയുക

Accidently pressed wrong type size (too large) in layout.css.devPixelsPerPx and accidently slected it. How else can I retrieve?

  • 9 മറുപടികൾ
  • 0 have this problem
  • 19 കാഴ്ചകൾ
  • Last reply by cor-el

Accidentally pressed wrong type size (too large) in layout.css.devPixelsPerPx. Now the type is so-o- big I can't get back to fix it. HELP please.

Accidentally pressed wrong type size (too large) in layout.css.devPixelsPerPx. Now the type is so-o- big I can't get back to fix it. HELP please.

Chosen solution

I created the user.js file. Then shut down and rebooted. Then refreshed Firefox via Control Panel. Then opened Firefox and all seems to be well. Thanks for your help and patience!

Read this answer in context 👍 0

എല്ലാ മറുപടികളും (9)

You can go to the profile folder and edit prefs.js, but it might be easier to create a plain text file named user.js and place this line in the file:

  • user_pref("layout.css.devPixelsPerPx", -1);

Copy this file to the profile folder. See "Finding your profile without opening Firefox":

Unfortunately there are, for some reason, 3 Firefox sessions open and I can't close any of them to restart Firefox

Unfortunately there are, for some reason, 3 Firefox sessions open and I can't close any of them to restart Firefox

The about:config page is a web page, so you should be able to zoom out the page via "Ctrl + -". How large is the text? Does it allow you to open about:config and paste the pref name in the search bar at the top of about:config?

The type is so big I can't even zoom out. I can't get to enter about:config. I also don't understand why 3 separate window are open with Firefox and I can't close them. My next step is to shut down and then restart my PC to see if that clears things. Please stay in touch.

If you reboot the computer and then start Firefox then you still have this pref value saved in the profile folder, so you will have to edit prefs.js or create the user.js file before starting Firefox.

Did you try the "Ctrl + Shift + Q" keyboard shortcut to close Firefox?

Chosen Solution

I created the user.js file. Then shut down and rebooted. Then refreshed Firefox via Control Panel. Then opened Firefox and all seems to be well. Thanks for your help and patience!

You're welcome. You can mark the reply that worked for you as the solution, so others with the same problem can easier find it.

You can rename or remove the user.js to disable it. The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.