Change your wordpress default logo from function.php

Posted: January 29, 2013 in Wordpress

function custom_loginlogo() {

echo ‘<style>
h1 a {background-image: url(‘.get_bloginfo(‘template_directory’).’/images/logo.gif) !important; background-size:378px 56px !important;background-position:top center;background-repeat:no-repeat;width:326px;height:67px;text-indent:-9999px;overflow:hidden;padding-bottom:15px;display:block; padding-left:50px !important;}
</style>’;
}
add_action(‘login_head’, ‘custom_loginlogo’);

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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