Chipp.in Tech News and Reviews

Windows, Security & Privacy, Open Source and more

Menu
  • Home
  • Windows
  • Security & Privacy
  • Gaming
  • Guides
  • Windows 11 Book
  • Contact
  • RSS Feed
Menu

How to enable Compact Mode in Firefox

Posted on April 29, 2025April 27, 2025 by Martin Brinkmann

Mozilla’s Firefox web browser supports two display densities by default. These determine the size of the toolbar and the elements that are displayed on it.

The two options are normal and touch. Normal is the default value, unless Firefox is used on a touch display.

Firefox supported a third for a very long time officially. Called compact, it reduced the size of the main toolbar to free up room for the display of websites in the browser.

While the mode is not shown anymore by default to users of the web browser, it is still available, albeit officially as “not supported”.

Still, if you are like me, you prefer your browser’s interface as tidy as possible to give website content more room.

Here is a step-by-step guide to enabling compact mode in the Firefox web browser.

Note: This works only in Firefox for the desktop. Also, since the feature is not supported officially, there is a theoretical chance that Mozilla is going to remove it at one time. The interface would revert to the default density in that case though.

Enable Compact Mode in Mozilla Firefox

Firefox Compact Mode

The first step enables the Compact Mode option in the interface, the second sets the interface to the mode.

  1. Load about:config in the address bar.
  2. Confirm the warning page to continue.
  3. Search for browser.compactmode.show.
  4. Click on the toggle icon to set the value of the preference to true.
  5. Select Menu > More Tools > Customize Toolbar.
  6. Locate the “Density” menu at the bottom and click on it to display its options.
  7. Choose “Compact (not supported)” from the available options.

Firefox changes the density of the toolbar and its elements immediately. The toolbar’s height should be a bit smaller than the height of the normal or touch toolbar.

Note that you may undo the change at any time starting at 5) above and switching to Normal or Touch under 7).

Now You: What is your preferred display mode? Smaller, with more space for websites and content, or larger?

Tags: firefox
Category: Guides

Post navigation

← About Alphonso: a technology that captures audio samples on mobile devices using the built-in microphone
Waterfox Private Search: a first look at the privacy-friendly search engine →

7 thoughts on “How to enable Compact Mode in Firefox”

  1. TelV says:
    April 29, 2025 at 12:26 pm

    I hope Moz won”t disable it. I always remove that Bookmarks toolbar as well.

    But I think you also published that tip on your former Ghacks site if my memory serves me correctly. But I could be wrong…

    Reply
  2. VioletMoon says:
    April 29, 2025 at 2:04 pm

    Helpful–thanks!

    Reply
  3. Tom Hawack says:
    April 29, 2025 at 2:44 pm

    I don’t know if versions of Firefox later than 115 (ESR here) have the following pref available as well :

    // You can also modify another hidden preference/flag browser.uidensity using about:config page to direct change Density options.
    // 0=normal mode, 1=compact mode, 2=touch mode
    pref(“browser.uidensity”, 1);

    I’ve always used the compact mode as a basis but heavily modified Firefox’s display to finally end up with a layout which is somewhere between compact and normal modes.
    IMO :
    1- Perhaps no formal rule given subjectivity rules both harmony and easiness of navigation.
    2- Maybe nevertheless formal rules which characterize aesthetic, with relations between colors (some wealthy people wear expensive clothes but look like bums given they ignore all what concerns colors which go together or not), between sizes (ratio, think about the “golden number”), the right space (neither squeezed nor dispersed). You may learn these things but fundamentally you feel them or not).
    From there on, my feeling is that if there are many talented coders, on the other hand graphic designers very seldom do a nice job. So, personally I fix many Web sites among those I often visit, with dedicated CSSs : visiting a lousy (IMO) Website in terms of eyes’ pleasure hurts me as the sound of chalk on a blackboard 🙂
    Contradiction between (1) and (2)? Not really : the former is what I say, the latter what I think, lol.

    Reply
  4. Tachy says:
    April 30, 2025 at 12:30 am

    My Firefox looks nothing like that screenshot. Mine is not fugly.

    May I suggest an article about custom css code usage?

    Someone over at GitHub had made it easy for everyone.

    https://github.com/Aris-t2/CustomCSSforFx

    Reply
  5. BillD says:
    April 30, 2025 at 3:18 am

    I recently tried the technique you mentioned, hoping it would improve the menu density, especially bookmarks. It only made a very small change. What DID work for me was setting up userChrome.css with this code:

    /* Reduce padding and font size in bookmarks menu */
    menupopup > menuitem, menupopup > menu {
    padding-block: 2px !important;
    font-size: 12px !important;
    }

    Reply
  6. Fish says:
    April 30, 2025 at 1:05 pm

    @Martin: Compact mode–AFAIK, been doing that; since when,
    don’t remember now. Thanks for the reminder, though.

    @TelV: “I always remove that Bookmarks toolbar as well.”
    +1. What an annoying, unneeded, space-devouring feature.

    Best regards to every one: Otoh, for First of May.

    Reply
  7. igzal says:
    May 3, 2025 at 10:46 pm

    Sounds like more than a few of us are on the same page… I’ve been using compact mode, without the bookmarks toolbar, for as long as I can remember.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • May 18, 2025 by Martin Brinkmann Netflix to use AI "to serve the right ad to the right member at the right time"
  • May 17, 2025 by Martin Brinkmann Windows 10 update may cause another Bitlocker recovery reboot issue
  • May 15, 2025 by Martin Brinkmann Chrome 136 update patches security issue that is exploited in the wild
  • May 13, 2025 by Martin Brinkmann Firefox 138.0.3 fixes two crashes and some other issues
  • May 12, 2025 by Martin Brinkmann Microsoft 365: Windows 10 continues to be supported, at least somewhat

About

We talk, write and dream about Technology 24/7 here at Chipp.in. The site, created by Martin Brinkmann in 2023, focuses on well-researched tech news, reviews, guides, help and more.

Legal Notice

Our commitment

Many websites write about tech, but chipp.in is special in several ways. All of our guides are unique, and we will never just rehash news that you find elsewhere.

Read the About page for additional information on the site and its founder and author.

Support Us

We don't run advertisement on this site that tracks users. If you see ads, they are static links. Ads, including affiliate links, never affect our writing on this site.

Here is a link to our privacy policy

©2025 Chipp.in Tech News and Reviews