Header logo disappears on all pages but Home (7 posts)

  1. Scad
    Posted 7 years ago #

    I'm using WP_Premium 1.0 by R.Bhavesh on my website (southerngamer.net) and I wanted to change my Blog Name and Description area to a logo image.

    In header.php I changed this code:

    <div id="header-in">
        <p class="title"><a href="<?php echo get_settings('home'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a>
    <p class="description"><?php bloginfo('description'); ?>
    	<?php ?>

    I replaced the second <?php bloginfo('name'); ?> with <img src="header.jpg" border="0">

    Now, on the home page, that displays my logo image in the place of the text, but if I navigate to any other page, it only shows the nav links up in the logo area. How can I get it to display the logo on all pages?

    Thanks in advance for any help!

  2. whooami
    Posted 7 years ago #

    <img src="header.jpg" border="0">

    that html is telling the browser to look for an image at a location that is relative to the page the user is own.

    The simple fix is to use the full url to the image.

  3. Scad
    Posted 7 years ago #

    Oh my gosh, I'm such a dummy. I didn't even think of the fact that the pages were in different directories.

    Thanks for helping an idiot, haha! Got it working!

  4. dhuse
    Posted 7 years ago #

    I noticed you used WP_Premium 1.0 by R.Bhavesh. How did you get rid of the 3 box ads?

  5. Scad
    Posted 7 years ago #

    I just put <!-- before and --> after the code in sidebar_featured.php

  6. mitz2004
    Posted 7 years ago #

    Thanks for the posts you just save me from loosing my mind!
    I changed the link from just image.jpg to the http://"directory"/image.jpg and it worked GREAT.

    Income for life!

  7. subz78
    Posted 7 years ago #

    fixed my problem too - thanks whooami

Topic Closed

This topic has been closed to new replies.

About this Topic