X
Tap here to go to the mobile version of the site.

Support Forum

Cannot resize Firefox window under 374 pixel

Posted

Using Firefox 26.0, completely fresh download and install.

For various purposes I would like to be able to re-size the entire Firefox window to a width below 374 pixel, however this is not working anymore. It simply stays wider or equal to 374 pixel. Before I did the update to 26.0 this worked just fine.

Of course I can do this with web developer but I prefer to have the entire Firefox window at 200 pixel or 300 pixel width for example.

Using Firefox 26.0, completely fresh download and install. For various purposes I would like to be able to re-size the entire Firefox window to a width below 374 pixel, however this is not working anymore. It simply stays wider or equal to 374 pixel. Before I did the update to 26.0 this worked just fine. Of course I can do this with web developer but I prefer to have the entire Firefox window at 200 pixel or 300 pixel width for example.

Chosen solution

Note that with the bookmarklet you will probably run into security issues as Firefox doesn't allow some page to open such a pop-up.


You can hide all toolbars in a new window and use code in userChrome.css to set a smaller min-width.

Add code to the userChrome.css file below the default @namespace line.

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#main-window:not([chromehidden~="toolbar"]) {min-width:200px!important;}

See line 8:

  • chrome://browser/content/browser.css
Read this answer in context 7

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.7 r700
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.01

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0

More Information

jscher2000
  • Top 10 Contributor
8441 solutions 68898 answers

Helpful Reply

Yes, this is in preparation for the Australis UI refresh, because the location bar was getting cut off at smaller widths in the new design. The temporary workaround is to use window.open() to launch a window in the size you need. See: Resize Firefox 26 to a width of less than 400px.

Yes, this is in preparation for the Australis UI refresh, because the location bar was getting cut off at smaller widths in the new design. The temporary workaround is to use window.open() to launch a window in the size you need. See: [https://support.mozilla.org/en-US/questions/980110 Resize Firefox 26 to a width of less than 400px].

Modified by jscher2000

cor-el
  • Top 10 Contributor
  • Moderator
17219 solutions 155544 answers

Chosen Solution

Note that with the bookmarklet you will probably run into security issues as Firefox doesn't allow some page to open such a pop-up.


You can hide all toolbars in a new window and use code in userChrome.css to set a smaller min-width.

Add code to the userChrome.css file below the default @namespace line.

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#main-window:not([chromehidden~="toolbar"]) {min-width:200px!important;}

See line 8:

  • chrome://browser/content/browser.css
Note that with the bookmarklet you will probably run into security issues as Firefox doesn't allow some page to open such a pop-up. ----- You can hide all toolbars in a new window and use code in userChrome.css to set a smaller min-width. Add code to the userChrome.css file below the default @namespace line. *http://kb.mozillazine.org/userChrome.css The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder. *http://kb.mozillazine.org/Editing_configuration <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ #main-window:not([chromehidden~="toolbar"]) {min-width:200px!important;}</nowiki></pre> ----- See line 8: *chrome://browser/content/browser.css

Modified by cor-el

Question owner

Since I prefer to make the customization in the "roo"t of the browser UI style I chose to edit the userChrome.css and now it works. Thank you cor-el!

jscher2000, I don't know what this Australis UI refresh is, but I highly doubt that people that resize the browser windows to under 200 px or under 300 px still need a location bar. I would more assume this is for development purposes rather than browsing, however I do respect Mozilla's decision to set a min-width.

Where can one read about these tiny little changes from version to upgraded version please? Would be great to not have to wonder next time (do I have a faulty install, virus, is it a bug, etc..) but see "ah this is going to be different and this is how I can change it to the way I like it".

Since I prefer to make the customization in the "roo"t of the browser UI style I chose to edit the userChrome.css and now it works. Thank you cor-el! jscher2000, I don't know what this Australis UI refresh is, but I highly doubt that people that resize the browser windows to under 200 px or under 300 px still need a location bar. I would more assume this is for development purposes rather than browsing, however I do respect Mozilla's decision to set a min-width. Where can one read about these tiny little changes from version to upgraded version please? Would be great to not have to wonder next time (do I have a faulty install, virus, is it a bug, etc..) but see "ah this is going to be different and this is how I can change it to the way I like it".
jscher2000
  • Top 10 Contributor
8441 solutions 68898 answers

The release notes always link to hundreds of individual bug reports detailing changes. It's the tiny "complete list of changes" link: http://www.mozilla.org/en-US/firefox/26.0/releasenotes/

For some reason, the dynamically generated list doesn't include this particular change: 897160 – Set a minimum width for the Firefox window.

Note about the bug tracking system: it's generally not helpful to add comments to closed bugs. See:

The release notes always link to hundreds of individual bug reports detailing changes. It's the tiny "complete list of changes" link: http://www.mozilla.org/en-US/firefox/26.0/releasenotes/ For some reason, the dynamically generated list doesn't include this particular change: [https://bugzilla.mozilla.org/show_bug.cgi?id=897160 897160 – Set a minimum width for the Firefox window]. Note about the bug tracking system: it's generally not helpful to add comments to closed bugs. See: * [https://bugzilla.mozilla.org/page.cgi?id=etiquette.html Bugzilla Etiquette] * [https://bugzilla.mozilla.org/page.cgi?id=voting.html Voting]