WordPress.org

Ready to get started?Download WordPress

Forums

Add logo to custom header (3 posts)

  1. java111
    Member
    Posted 4 years ago #

    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!!!

  2. 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 --*/
    }
  3. 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 --*/
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.