Sun
30
Mar '08
Darling, I shrinked the menu
by Frank Spychalski filed under Blog

Yesterday I installed version 2.5 of WordPress (which is great!) but the menu in the admin interface uses up a lot of screen estate. That’s why I just patched wp-admin.css to save some of this precious space in the admin interface. Just follow the above link and replace your version found in wp-admin/ if you think the menu is too big.

The changes are really simple. Here are the diffs:

--- wordpress/wp-admin/wp-admin.css 2008-03-29 08:21:12.000000000 +0100
+++ ../amazing-development.com/wp-admin/wp-admin.css        2008-03-30 16:47:22.000000000 +0200
@@ -573,8 +573,8 @@

 #wphead #viewsite {
        position: absolute;
-   margin-top: 12px;
-   margin-left: 10px;
+       margin-top: 3px;
+       margin-left: 3px;
 }
 #wphead #viewsite a {
        font: 12px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
@@ -590,8 +590,8 @@
 }

 #wphead h1 {
-   font: normal 36px Georgia, "Times New Roman", Times, serif;
-   padding: 11px 170px 16px 12px;
+       font: normal 18px Georgia, "Times New Roman", Times, serif;
+       padding: 11px 170px 20px 13px;
        margin: 0;
        margin-right: 15%;
 }
@@ -635,9 +635,9 @@
 }

 #adminmenu a {
-   font-size: 16px;
+       font-size: 12px;
        padding: 5px 7px;
-   line-height: 30px;
+       line-height: 20px;
 }

 #adminmenu a.current, #sidemenu a.current {
@@ -770,7 +770,7 @@
 }

 #submenu li {
-   font-size: 14px;
+       font-size: 10px;
 }

 #minisub { /* for empty submenus */
@@ -961,6 +961,14 @@
        text-decoration: underline;
 }

+#wpbody h2 {
+  font-size: 12pt;
+}
+
+#titlediv h3 {
+  display: none;
+}
+
 #poststuff h2 {
        margin-top: 20px;
        font-size: 1.5em;

2 Responses to “Darling, I shrinked the menu”

  1. 1

    Try diff -u. It helps applying patches to modified files.

    Cheba (March 30th, 2008 at 21:35)
  2. 2

    Thanks for the reminder. Fixed.

    Frank Spychalski (March 31st, 2008 at 09:29)

Any comments? Or questions? Just leave a Reply:

Bad Behavior has blocked 684 access attempts in the last 7 days.