WordPress.org

Forums

A5 Custom Login Page
[resolved] V 2.1 Update Creates Double Logo (4 posts)

  1. BigDogSF
    Member
    Posted 12 months ago #

    Issue Creating Double Logo:

    @charset "UTF-8";
    /* CSS Document createtd by the A5 Plugin Framework */
    #login {
    border: inset px ;
    width: 400px;
    height: 200px;
    color: #000000;
    }

    /* CSS portion of the A5 Custom Login Page */

    html body.login {
    background-repeat: no-repeat;
    background-color: #ffffff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#d6d6d6));
    background-image: -webkit-linear-gradient(top, #ffffff, #d6d6d6);
    background-image: -moz-linear-gradient(top, #ffffff, #d6d6d6);
    background-image: -ms-linear-gradient(top, #ffffff, #d6d6d6);
    background-image: -o-linear-gradient(top, #ffffff, #d6d6d6);
    background-image: -linear-gradient(top, #ffffff, #d6d6d6);
    }
    body.login div#login h1,
    body.login div#login h1 a {

    background-image: url(http://www.collectorsbluebook.com/wp-content/uploads/2013/05/cbblogoMay25-20131.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 600px 100px;
    width: 600px;
    height: 95px;
    margin: 150px 0 0 -95px;
    }
    .login form {
    background-color: #e8e8e8;
    -webkit-box-shadow: 1px 3px 5px #878787;
    -moz-box-shadow: 1px 3px 5px #878787;
    box-shadow: 1px 3px 5px #878787;
    }
    #loginform label,
    #lostpasswordform label,
    #registerform label {
    color: #000000;}
    .login .message {
    background-color: #d6d6d6;
    color: #000000;
    border-color: #d6d6d6;
    }
    .login #login_error {
    background-color: #d6d6d6;
    color: #000000;
    border-color: #d6d6d6;
    }
    .input {
    color: #000000 !important;
    background-color: #d6d6d6 !important;
    border-color: #d6d6d6 !important;
    }
    .login #nav {
    color: #0000ff !important;
    text-shadow: none !important;
    }
    #login_error a,
    .login #nav a,
    .login #backtoblog a {
    color: #0000ff !important;
    text-shadow: none !important;
    font-size: 24px;
    }
    #login_error a:hover,
    .login #nav a:hover,
    .login #backtoblog a:hover {
    color: #ff550d !important;
    }
    #wp-submit.button-primary {
    background: transparent !important;
    background-color: #0000ff !important;
    color: #ffffff !important;
    border: solid 1px #0000ff !important;
    }

    https://wordpress.org/plugins/custom-login-page/

  2. tepelstreel
    Member
    Plugin Author

    Posted 12 months ago #

    Hi there,

    I knew that, but I left the two selectors there because I was trying to force an overwrite of the CSS of some theme (mentionend in another support thread).

    As there were two logos, but in my testing they never interfered, I decided to leave them there.

    Seeing, what your css is producing, I recognize that the styling of body.login div#login h1 seems to be nonesense. :)

    I will eliminate it.

    Best,
    Stefan

  3. BigDogSF
    Member
    Posted 12 months ago #

    Hi Stefan,

    I was trying to find the style sheet for this to eliminate it on my build...but could not. Thanks for the quick response. Where is this style sheet located?

    Regards
    Will

  4. tepelstreel
    Member
    Plugin Author

    Posted 12 months ago #

    Hi Will,

    you are very welcome for that. It's always good that you guys out there report the problems that I didn't encounter or think of.

    The style sheet. Well, er, there is none. :)

    It's virtually built in the file CLP_DynamicCSSClass.php which is located in the class-lib folder.

    And it begins printing the styles either inline or in a virtual sheet at line 363.

    I hope that helps. If you are looking for possibilities to change that style sheet to something more flexible and more to your liking, I sugest that you enter a style sheet of your own in the css section of the plugin's settings.

    And if you look here: http://codex.wordpress.org/Customizing_the_Login_Form

    You'll find all the specific selectors that you can override. Just don't make the same mistake I did and specify some style for the h1 and the h1 a ;)

    Regards,
    Stefan

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.