WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Swapping Logos in my website's header (4 posts)

  1. clanderf
    Member
    Posted 4 years ago #

    I am trying to swap out the logo in the header of my website, and for whatever reason, it won't display the image when I make the change.

    Here is the header.php code for the current logo:

    <div class="logo">/" title="Vino Virtuoso"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.png" width="245" height="140" alt="Vino Virtuoso" title="Vino Virtuoso" /></div>

    I cannot locate the "images/logo.png" file anywhere in my media library. Our website coders uploaded them somewhere obviously because the image is currently displaying on the website.

    I uploaded a new file in the media library, and I tried deleting the "images/logo.png" and referencing the new file location, but that's all I changed, and it doesn't seem to be working. I know that the file location is correct, so there seems to be something else in the code above that is messing it up so that it won't reference the file that I uploaded.

    Any help would be greatly appreciated! Might want to talk to me like a 5th grader because when it comes to this sort of thing, I am a 5th grader.

    Here's my website: http://www.psdgator.com/dev/vinovirtuoso/

  2. The image that you want to change is at:

    /wp-content/themes/vinovirtuoso/images/logo.png

  3. clanderf
    Member
    Posted 4 years ago #

    Thanks. But how do I actually change the image? I see that the image pops up in my browser when I copy that URL that you cited above, but how do I change it?

    In the code I pasted above, I changed the image location from "images/logo.png" to the image location for a new logo that I uploaded, which is located here:

    http://www.psdgator.com/dev/vinovirtuoso/wp-content/uploads/2010/06/New-Logo-1-e1276570230566.png

    However, this doesn't work at all.

    Any advice on the step-by-steps to changing the logo image?

  4. papaman
    Member
    Posted 4 years ago #

    I have the correct code below:

    <div class="logo">/" title="Vino Virtuoso"><img src="<?php echo get_option('home'); ?>/wp-content/uploads/2010/06/New-Logo-1-e1276570230566.png" width="245" height="140" alt="Vino Virtuoso" title="Vino Virtuoso" /></div>

Topic Closed

This topic has been closed to new replies.

About this Topic