Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter SteveFromAus

    (@stevefromaus)

    PS,

    I always have to make the selection twice before the plugin accepts my nentry.

    Thread Starter SteveFromAus

    (@stevefromaus)

    PPS, site is castleimages.net.au so you can see what I mean for both posts.

    Plugin Author bnovotny

    (@bnovotny)

    As for the background image, there are usually modifications to make, like tile. Usually it will tile meaning it will repeat the image to cover the entire screen height and width. That is not customizable in the plugin as it stands now, however there is a way to change that if you like, I can show you how to do it. On line 134 or so of user-reg-aide-customCSS.php there is the following:`if( $show_page_image == “1” && !empty( $page_image ) ){
    echo ‘<style type=”text/css”>body.login{height:350%; background:url(‘.$page_image.’) repeat center;padding-top:30px;font:11px “Lucida Grande”,Verdana,Arial,”Bitstream Vera Sans”,sans-serif; } </style>’;
    echo ‘<style type=”text/css”>body.register{background:url(‘.$page_image.’) repeat center;padding-top:30px;font:11px “Lucida Grande”,Verdana,Arial,”Bitstream Vera Sans”,sans-serif; } </style>’;
    echo ‘<style type=”text/css”>body.login login-action-lostpassword wp-core-ui{height:350%; background:url(‘.$page_image.’) repeat center;padding-top:30px;font:11px “Lucida Grande”,Verdana,Arial,”Bitstream Vera Sans”,sans-serif; } </style>’;

    }` There after the echos you will see the CSS, just add a no and then a space before the repeat to turn of repeat for the image. I will try to include that in the next update too.

    There also is no Ajax on the page so the changes won’t show up when you make them until after you refresh the page by the way.

    Thread Starter SteveFromAus

    (@stevefromaus)

    Deleted, see next post

    Thread Starter SteveFromAus

    (@stevefromaus)

    Hi,

    I am not sure exactly where you mean to add the code.

    I’ve tried but could not get the syntax or loacation correct.

    Steve

    Plugin Author bnovotny

    (@bnovotny)

    Okay, on line 133 of user-reg-aide-customCSS.php is the following

    if( $show_page_image == “1” && !empty( $page_image ) ){
    echo ‘<style type=”text/css”>body.login{height:350%; background:url(‘.$page_image.’) repeat center;padding-top:30px;font:11px “Lucida Grande”,Verdana,Arial,”Bitstream Vera Sans”,sans-serif; } </style>’;
    echo ‘<style type=”text/css”>body.register{background:url(‘.$page_image.’) repeat center;padding-top:30px;font:11px “Lucida Grande”,Verdana,Arial,”Bitstream Vera Sans”,sans-serif; } </style>’;
    echo ‘<style type=”text/css”>body.login login-action-lostpassword wp-core-ui{height:350%; background:url(‘.$page_image.’) repeat center;padding-top:30px;font:11px “Lucida Grande”,Verdana,Arial,”Bitstream Vera Sans”,sans-serif; } </style>’;

    }

    You have the following echo statement

    echo '<style type="text/css">body.login{height:350%; background:url('.$page_image.') repeat center;padding-top:30px;font:11px "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; } </style>';

    change where is says

    background:url('.$page_image.') repeat center;

    to

    background:url('.$page_image.') no repeat center;

    The first echo statement is for the login page, the second for the registration page and the third for the lost password page. The statement is the same for all three forms. You should probably change that portion of code for all three echo statements, that way it will be the same on all three variations of the form. Hope that helps, I am not ready to make a new release yet but will try to include most of this and some extra stuff in the new update so you can modify and style the forms in greater detail.

    Thread Starter SteveFromAus

    (@stevefromaus)

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Logo and Registration Form Customizations’ is closed to new replies.