WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Need Help putting linkable logo into wordpress header (3 posts)

  1. krazitrain
    Member
    Posted 8 years ago #

    I need help placing a logo with a width 475px height 152px into my header.php file and have the logo link back to the home page from any page.

    In my header.php file I've replaced,

    '<div id="header">
    <span class="blogname">"><?php bloginfo('name'); ?></span>
    <span class="blogslogan"><?php bloginfo('description'); ?></span>
    </div>'

    WITH:

    '<div id="header">
    <img src="wp-content/repreview.jpg" alt="header img" />
    </div>'

    but get only a logo that links to the homepage on the front page. A single 'post topic' page just shows the text, header img, but does link back to the homepage as seen here,

    http://www.dwazzle.com/ I'm using this site as a sandbox currently to figure this out. I would ideally like to have the logo centered. I've been searching for 2 days how to do this after giving up 2 weeks ago. THANKS

  2. whooami
    Member
    Posted 8 years ago #

    1. use the full url to the image.
    2. use <a href="http://www. home. com><img src="http://www. home. com/imge.gif" /></a>

    1 alone may solve it, links broke in 2 so that you could read it

  3. krazitrain
    Member
    Posted 8 years ago #

    Woohoo! Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags