WordPress.org

Support

Support » How-To and Troubleshooting » Add logo to custom header

Add logo to custom header

  • New to WP, I want to replace the default custom header with my own logo. I have no programming or development experience and nervous that I will mess up everything. HELP!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • What theme or a link to your site would help? You can replace it via CSS by doing a view source and finding out what class or id is added to the current logo or side name you want to replace. If it has the id of “logo” you could replace it in your css as follows:

    #logo {
    background: url(link to your logo image) no-repeat;
    text-indent: -999em /* -- this will indent current text so it does not display--*/
    height:000px; /* -- change to image height --*/
    width:000px; /* -- change to image width --*/
    }

    Made a mistake in above code add a ; after text-indent: -999em; and put “” around link. Here is correct code:

    #logo {
    background: url("link to your logo image") no-repeat;
    text-indent: -999em; /* -- this will indent current text so it does not display--*/
    height:000px; /* -- change to image height --*/
    width:000px; /* -- change to image width --*/
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add logo to custom header’ is closed to new replies.
Skip to toolbar