Make your Gnome title bar smaller – Fedora 24 update

I wrote similar post before about making the massive title bar in Gnome smaller. But it doesn’t work anymore in Fedora 24!

Don’t worry, I have created an update for you – so you can enjoy more space on your desktop again!

gnome-window-title-barAll you need to do is to put the following css code into ~/.config/gtk-3.0/gtk.css

window.ssd headerbar.titlebar {
    padding-top: 4px;
    padding-bottom: 4px;
    min-height: 0;
}

window.ssd headerbar.titlebar button.titlebutton {
    padding: 0px;
    min-height: 0;
    min-width: 0;
}

13 thoughts on “Make your Gnome title bar smaller – Fedora 24 update

  1. Linh

    Nice, I have never known that we can do it. With this way, I can modify style of terminal in depth.
    Thank you.

    Reply
    1. Adam Šamalík Post author

      Yes, you need to create it. Then you can just press alt+f2, type “r”, and press enter.

      Reply
  2. Pingback: Titelleiste bei GTK3 Anwendungen verkleinern › Fedora-Blog.de

  3. Garland Larochelle

    When you first arrive on this web page, you might see a notice that it can’t detect Gnome running on your computer, and a query from your browser asking if you want to allow “Gnome Shell Integration” to run.

    Reply
    1. Adam Šamalík Post author

      Not sure what do you mean. This has nothing to do with a browser. You just need to create a file on a local filesystem. Could you please provide more details?

      Reply
  4. Thorsten Leemhuis

    TWIMC: If you want to reduce the size of the title bar font add something like font-size: 0.6em; in the first section.

    Reply
  5. ahloi

    strange this is not working for me.i put the css file in home ~/.config/gtk-3.0/ .
    maybe the newest gtk update fom repo break this method.(got the newest gtk update today from repo)

    Reply
  6. Fan

    Really nice! Where did you find this information about what file to edit? I want to change the font for the gnome-shell (for 3.22) but couldn’t find any useful reference out there.

    Reply
    1. Adam Šamalík Post author

      Thanks! To be honest, I don’t remember. I did some googling, found a few solutions that either didn’t work or the result wasn’t very nice, and combined them together to produce this. But I didn’t find a documentation for tweaking Gnome CSS.

      Reply

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>