WordPress.org

Ready to get started?Download WordPress

Forums

How do I Change WordPress logo on login page? (11 posts)

  1. damnmoments
    Member
    Posted 3 years ago #

    How do I change the wordpress logo above Username? I want to display my logo instead of the wordpress logo.. and how do i get it to display in a noticeable size like wordpress uses for there's..

    Can I change the look of the login page completely?

    Example of login page section:

    http://thepoorinvestment.sfactions.com/wp-login.php?redirect_to=http%3A%2F%2Fthepoorinvestment.sfactions.com%2Fwp-admin%2F

  2. Shane G.
    Member
    Posted 3 years ago #

  3. damnmoments
    Member
    Posted 3 years ago #

    I don't understand if #3 and #4.. Where is the template located? and how do i upload new background image..
    This section describes how to install the plugin and get it working.

    1. Upload `the entire contents of the zip file to your plugin directory '/wp-content/plugins/'
    2. Activate the plugin through the 'Plugins' menu in WordPress
    3. Create a new login background using the handy template provided. Save it as 'login-bkg-tile.jpg'
    4. Upload the new login background image to the /wp-content/plugins/bm-suctom-login/images/
    5. Bask in the glory of your beautiful new login screen

  4. jessn
    Member
    Posted 3 years ago #

    Just paste this into your functions.php file

    // custom admin login logo
    function custom_login_logo() {
    	echo '<style type="text/css">
    	h1 a { background-image: url('.get_bloginfo('template_directory').'/images/custom-login-logo.png) !important; }
    	</style>';
    }
    add_action('login_head', 'custom_login_logo');

    Upload an image for the logo to your theme's images folder, and make sure the name matches in the code above.

  5. damnmoments
    Member
    Posted 3 years ago #

    I need my hand held a little bit.. lol I located functions.php ... Where do i place this in the fun.php section?

    Where is themes images folder? Am I uploading this in media library?

    Name matching code in the theme folder? ('template_directory').'/images/custom-login-logo.png ???

    thanks for your help

  6. damnmoments
    Member
    Posted 3 years ago #

    im using Fusion 3.0.3 by digitalnature on the site i want to change logo

  7. jessn
    Member
    Posted 3 years ago #

    Ok. Your functions.php file starts with a <?php and ends with a ?>. That code has to go somewhere inside of those <? ?> tags. Just don't paste it in between other code. Put it at the very top or very bottom, just inside of those <? ?> tags.

    You can upload your logo through the media uploader, copy the file url, and then replace /images/custom-login-logo.png with the full URL. http://yourwebsite.com/blah/image.jpg

  8. jessn
    Member
    Posted 3 years ago #

    Ok after looking at the functions.php for your theme do this:

    <?php
    /* Fusion/digitalnature */
    
    /* Add the logo code here */
    
    function custom_login_logo() {
    	echo '<style type="text/css">
    	h1 a { background-image: url(http://yourwebsite.com/wp-content/uploads/yourimage.jpg) !important; }
    	</style>';
    }
    add_action('login_head', 'custom_login_logo');
    
    /* end logo code */
    
    function init_language(){
    	if (class_exists('xili_language')) {
    		define('THEME_TEXTDOMAIN','fusion');
    		define('THEME_LANGS_FOLDER','/lang');
    	} else {
    	   load_theme_textdomain('fusion', get_template_directory() . '/lang');
    	}
    }
  9. damnmoments
    Member
    Posted 3 years ago #

    Actually this plugin worked really easy.. http://wordpress.org/extend/plugins/custom-login/

    My question is how do you change the the color of the Log In, Regsiter, and Lost your Password links and button (they are currently blue with white letters)

  10. cpkid2
    Member
    Posted 3 years ago #

    Thanks jessn. Worked beautifully.

  11. Hardyart
    Member
    Posted 3 years ago #

    Thanks Jessn, great tips!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.