function twentyeleven_admin_header_style() {}

Styles the header image displayed on the Appearance > Header admin panel.
Referenced via add_custom_image_header() in twentyeleven_setup().

Source code

function twentyeleven_admin_header_style() {


	<style type="text/css">

	.appearance_page_custom-header #headimg {

		border: none;


	#headimg h1,

	#desc {

		font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;


	#headimg h1 {

		margin: 0;


	#headimg h1 a {

		font-size: 32px;

		line-height: 36px;

		text-decoration: none;


	#desc {

		font-size: 14px;

		line-height: 23px;

		padding: 0 0 3em;



		// If the user has set a custom color for the text use that

		if ( get_header_textcolor() != HEADER_TEXTCOLOR ) :


		#site-title a,

		#site-description {

			color: #<?php echo get_header_textcolor(); ?>;


	<?php endif; ?>

	#headimg img {

		max-width: 1000px;

		height: auto;

		width: 100%;







No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: