WordPress.org

Forums

[resolved] Register page background needs to be extended (5 posts)

  1. cruthas
    Member
    Posted 2 years ago #

    I have added some custom fields to the register page but background doesn't fit in it and it's sort of broken, not sure really how to fix it...

    Any help or guidance would be helpful. Thanks!

    http://www.climberism.com/wp-login.php?action=register

  2. Pioneer Web Design
    Member
    Posted 2 years ago #

    The file wp-admin.css needs to be edited also - in the style html, body } remove the height: 100%; line (or otherwise modify).

    Note, you will lose this customization on WP update.

  3. cruthas
    Member
    Posted 2 years ago #

    hmm... I wonder if I can add this to my function.php so it won't get lost in an update.

  4. cruthas
    Member
    Posted 2 years ago #

    yup, just as I suspected:

    function my_login_logo() { ?>
        <style type="text/css">
            body.login div#login h1 a {
                background-image: url(<?php echo get_bloginfo( 'template_directory' ) ?>/images/your-logo-path-in-template-folder);
                padding-bottom: 30px;
            }
            body.login {
    	        background: #FBFBFB;
    	        min-width: 0;
    	        height: 1200px;
            }
        </style>
  5. cruthas
    Member
    Posted 2 years ago #

    Works like a charm. Solved.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags