Featured templates

WordPress. How to customize login page logo

Jason Bentley October 12, 2016
Rating: 5.0/5. From 2 votes.
Please wait...

Hello, this tutorial will show you how to customize the login page logo in WordPress.

When you access the WordPress admin panel, the first thing you notice is the login page with a WordPress logo. Wouldn’t it be better if this page had your company logo?

There are many simpler ways to do this using WordPress plugins that allow other customization options too.

But we would prefer setting it using the powerful WordPress functions.php file.

  1. Open the functions.php file from your theme with the editor and place the following lines below:

    function my_custom_login_logo()
    echo '<style  type="text/css"'> h1 a {  background-image:url(' . get_bloginfo('template_directory') . '/images/logo_admin.png)  !important; } '</style'>';
    add_action('login_head',  'my_custom_login_logo'); 
  2. Upload the ‘logo_admin.png’ file to the /wp-content/themes/images/ folder then and check your site. We have successfully replaced default WordPress logo with custom one.

  3. Thank you for checking this tutorial. Now you know how to customize the login page logo.

    Feel free to check the detailed video tutorial below:

    WordPress. How to customize login page logo

    In case you’re searching for premium themes to build a website from scratch, look through the Best WordPress Themes 2017.

High End Wordpress Themes
This entry was posted in WordPress Tutorials and tagged login, logo, WordPress. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket