Archived

This topic is now archived and is closed to further replies.

  • 0

Positioning logo on login page


Question

Posted · Report post

So, i'm trying to add margin-bottom to the logo on the site login page. Inspecting the code, I found this:

body #login h1 a {
    background: url("http://blahblahblah.com/wp-content/uploads/2013/05/ka-site-logo-login-page-icon.png") no-repeat scroll center top transparent;
    height: 80px;
}

When I added margin-bottom:1em in Firebug it worked perfectly. When added to the code it did NO-THING. I went through the inherited code and did not recognize a conflict (see below) Do you know what might be preempting my customizations?

body #login h1 a {
background: url("http://khadija-annette.com/wp-content/uploads/2013/05/ka-site-logo-login-page-icon.png") no-repeat scroll center top transparent;
height: 80px;
margin-bottom: 1em;
}
.login h1 a {
    background-image: url("../images/wordpress-logo.png?ver=20120216");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 274px 63px;
    display: block;
    height: 67px;
    outline: 0 none;
    overflow: hidden;
    padding-bottom: 15px;
    text-indent: -9999px;
    width: 326px;
}
.login * {
    margin: 0;
    padding: 0;
}
a, #adminmenu a, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-items a.delete, #media-items a.delete-permanently, .plugins a.delete, .ui-tabs-nav a {
    color: #21759B;
}
a, input[type="text"], input[type="password"], input[type="number"], input[type="search"], input[type="email"], input[type="url"], select, textarea, div {
    outline: 0 none;
}
h1 {
    font-size: 2em;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}
body, #wpbody, .form-table .pre, .ui-autocomplete li a {
    color: #333333;
}
body {
    font-family: sans-serif;
    font-size: 12px;
    line-height: 1.4em;
}

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

Hi,

 

The Login page is a Wordpress page which uses Wordpress CSS, therefore the best course of action is to ask this question on the Wordpress support forums.

Share this post


Link to post
Share on other sites

Posted · Report post

Ok, thanks :)

Share this post


Link to post
Share on other sites

Posted · Report post

We're glad this was resolved for you!

Share this post


Link to post
Share on other sites