Title: Replace WordPress logo
Last modified: August 19, 2016

---

# Replace WordPress logo

 *  Resolved [pfernandezm59](https://wordpress.org/support/users/pfernandezm59/)
 * (@pfernandezm59)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/replace-wordpress-logo/)
 * I would like to know if it’s possible to change the WordPress logo in the login.
   php file, in order to replace it with my blog’s logo. Any suggestions how to 
   do it?
    Thank youvery much!!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/replace-wordpress-logo/#post-1253330)
 * [http://wordpress.org/extend/plugins/search.php?q=custom+login](http://wordpress.org/extend/plugins/search.php?q=custom+login)
 *  [alism](https://wordpress.org/support/users/alism/)
 * (@alism)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/replace-wordpress-logo/#post-1253331)
 * The image/login screen is part of core, so you’ll make your life more difficult
   if you edit it, as you’ll need to do the same thing every time you upgrade and
   that’ll be a pain in the…
 * However, there is a plugin…
    [http://wordpress.org/extend/plugins/custom-login/](http://wordpress.org/extend/plugins/custom-login/)
 *  Thread Starter [pfernandezm59](https://wordpress.org/support/users/pfernandezm59/)
 * (@pfernandezm59)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/replace-wordpress-logo/#post-1253345)
 * Thank You!!!.
 *  [mtw28](https://wordpress.org/support/users/mtw28/)
 * (@mtw28)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/replace-wordpress-logo/#post-1253364)
 * You can also add two lines of code and a .css file to make the changes directly
   in your theme’s function.php file if you’re comfortable with that approach.
 * Here is the code to add to function.php:
 *     ```
       <?php
       function custom_login() {
       	echo '<link rel="stylesheet" type="text/css" href="' . get_settings('template_url') . 'custom-login.css" />';
       }
       add_action('login_head', 'custom_login');
       ?>
       ```
   
 * Then create custom-login.css in your theme directory and put this styling in 
   it with your custom logo filename and its width and height:
 *     ```
       h1 a {
       background:url(custom_logo.jpg) no-repeat;
       width:340px;
       height:136px;
       }
       ```
   
 * Upload your logo to the theme directory and you’re done.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Replace WordPress logo’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [mtw28](https://wordpress.org/support/users/mtw28/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/replace-wordpress-logo/#post-1253364)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
