The default Gnome title bar in Fedora seems larger than what is normal, taking away valuable screen space for a seemingly useless purpose. Fortunately it’s pretty easy to chance the Fedora title bar size, or even to remove the title bar completely.

All you have to do is open up Terminal and do the following:

# sudo dnf install nano

# sudo nano ~/.config/gtk-3.0/gtk.css

This will generate an empty file, in which you can paste the following:

.header-bar.default-decoration {
    padding-top: 3px;
    padding-bottom: 3px;

.header-bar.default-decoration .button.titlebutton {
    padding-top: 2px;
    padding-bottom: 2px;

Change the padding in the above file to suit your taste; of course no title bar at all in Gnome will require a padding equivalent of 0px. 

Don’t forget that you can also hide the top bar with this Gnome shell extension!

Share This