WordPress.org

Ready to get started?Download WordPress

Forums

Custom Login
[resolved] Custom Logo - Can't get this work! (5 posts)

  1. Persiano
    Member
    Posted 1 year ago #

    I'm sitting round about two hours on this, and can't get this work.

    I read in other posts to edit the custom css with h1 a to configure custom width and height .

    So this is my code, and it doesn't work:

    h1 a{
      width:440px;
      height:120px;
      background:url(https://.../wp-content/uploads/2013/06/logo.png);
     }

    What am I doing wrong?

    Thanks in advance!

    http://wordpress.org/extend/plugins/custom-login/

  2. Austin Passy
    Member
    Plugin Author

    Posted 1 year ago #

    Use .login h1 a

  3. Persiano
    Member
    Posted 1 year ago #

    Thanks Austin for answering.

    It doesn't fix the issue. And the position has moved from center to right.

    Any Idea?

  4. Persiano
    Member
    Posted 1 year ago #

    Ok, I got it, but now I've problem with the position to get it my logo "top centered".

    .login h1 a {
    	background-image</strong>: url(.../wp-content/uploads/2013/06/logo.png);
    	<strong>background-size: 440px 120px;
    	background-position: top center;
    	background-repeat: no-repeat;
    	width: 492px;
    	height: 124px;
    	text-indent: -9999px;
    	outline: none;
    	overflow: hidden;
    	padding-bottom: 15px;
    	display: block;
    }
  5. tgd
    Member
    Posted 1 year ago #

    You've got <strong></strong> html tags inside your css. Why? Besides they're in the wrong order, but they shouldn't be there in the first place. Browsers won't recognize background-image</strong> or <strong>background-size. Leave off the html tags, and you should be okay.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags