2

Customize the WordPress Dashboard Header Even More

The Wordpress dashboard is like a forbidden territory as far as the design goes besides a few style hacks people post. With this one you can learn how to customize the header of your dashboard to alter the site title text next to the logo and the font family of your choice. As well as change the logo, background color, and even background image....
Customize the WordPress Dashboard Header Even More

Changing the dashboard header code

Add this to your functions.php file in your theme directory. It gives you more control than just changing the logo and header color.

// Change dashboard header
function custom_colors() {
	echo '<style type="text/css">
		#header-logo{ background-image:url('.get_bloginfo('template_directory').'/images/30PX_LOGO_IMAGE.png)!important; }
		#wphead{ background:#191919 url('.get_bloginfo('template_directory').'/images/BACKGROUND_IMAGE.png) repeat-x!important;}
		h1#site-heading a{ font-family: Myriad Pro, FONT OF YOUR CHOICE;
		color:#7BCC02;  }
	</style>';
}

Then you add the hook needed for making this function run in the admin_head.

add_action( 'admin_head', 'custom_colors' );

You can probably take this even further and change the font-size, or the other links and text on the right side of the header. I tried to do that real quick but don't think I was doing it right, or it may not be possible I don't know.

In other news

I've been working on a new theme, and it's highly customized, and customizable. It utilizes all the new WordPress 3.0 features that have been added, including custom post types and taxonomies, and so much more. It is going to truly be "non-blog" style website theme. Making it has really shown me how much more powerful WP 3.0 is, and how much more you will be able to do with it.

The theme is still far from done, but it includes every new feature that has been added in WordPress 3.0.

What this means for you?

I will be writing about how you can do some of the things I have learned, which I can say is more than I ever thought I would. WP 3.0 is truly amazing, and it really opens the door to a whole new world of websites with WordPress.

Stay tuned for more info on this, and new posts about how to do things in 3.0.

Shortlink:

Get automatic updates! Subscribe to Our RSS Feed or Get Email Updates sent straight to your inbox!

About the Author

Jared is from Boston working as a web and graphic designer. Also owns the design blog Tweeaks.com, and has designed many other websites powered by Wordpress including the New2WP theme.

Level: Rookie

User Comments

( ADD YOURS )

  1. Genial post and this post helped me alot in my college assignement. Thanks you seeking your information.


  2. You're right! The wordpress dashboard, at least to me, has indeed been forbidden territory. It scares the crap out of me every time I even consider wondering into those murky wordpress waters.

    Seriously, thanks for the suggestions!!!
    Carl recently posted..Aging and Diet

Trackbacks


  1. Avatar

    Your Name
    February 4


    CommentLuv badge