Ready to get started?Download WordPress


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

  1. cruthas
    Posted 1 year 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!


  2. Pioneer Valley Web Design
    Posted 1 year 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
    Posted 1 year ago #

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

  4. cruthas
    Posted 1 year 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;
  5. cruthas
    Posted 1 year ago #

    Works like a charm. Solved.

Topic Closed

This topic has been closed to new replies.

About this Topic