WordPress.org

Ready to get started?Download WordPress

Forums

How To Insert Logo into Blog Header (5 posts)

  1. leakbird
    Member
    Posted 6 years ago #

    Man, I've read every tutorial on the web, but I still can't figure out how to insert a logo into my WordPress header.

    I know that I need to tweak my header values in my stylesheet, and that I need to insert the img src in my header sheet. But I can't figure out how to do it correctly.

    You can see the site here: http://www.leakbird.com

    Basically, I want to replace the "LeakBird" text in the left with my "LeakBird" logo (images/LeakBird_img.jpg), but every time I try, I have to start over from scratch.

    Can someone please tell me what code I need to use to insure it shows up properly?

  2. buzz
    Member
    Posted 6 years ago #

    <a href="<?php bloginfo('url'); ?>/"><img src="<?php bloginfo('template_directory'); ?>/images/XXX.gif" border="0" alt="XXX" /></a>

  3. leakbird
    Member
    Posted 6 years ago #

    Ok, thanks Buzz. But where do I put this in my header code? Also, what code do I place in my stylesheet? If someone could help me, I would much appreciate it. I need precise instructions, so that I can place my logo in the top left corner of http://www.leakbird.com , in the place where the title/ description is?

    Thanks in advance,
    Ben

  4. boober
    Member
    Posted 6 years ago #

    try opening your header.php file thats in your theme directory, find the <h1> and <h2> tags, replace them with the code buzz gave you.
    <a href="<?php bloginfo('url'); ?>/"><img src="<?php bloginfo('template_directory'); ?>/images/LeakBird_img.jpg" border="0" alt="XXX" /></a>

  5. mashedspuds
    Member
    Posted 6 years ago #

    Are the hooks (css styling/positioning): #header h1 img?

    Tony.

Topic Closed

This topic has been closed to new replies.

About this Topic