Support » Themes and Templates » Header image only appearing on home page

  • I have recently converted my html site to wordpress.

    The header image shows up fine on the home page ‘/images/logo.png’ but when I click on the other pages it doesn’t show up and the path changes to ‘images/logo.png’

    I have changed the path in the header.php to ‘/images/logo.png’ but it still only shows up on the home page.

    Has anyone encountered this problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael


    Forum Moderator

    try to use:

    <img src="<?php bloginfo('url'); ?>/images/bet-types-logo2.png" alt="bet-types-explained-in-detail" style="float:left;" height="40" width="145">

    or (which might fail if you go further down into ‘sub’-folders):

    <img src="../images/bet-types-logo2.png" alt="bet-types-explained-in-detail" style="float:left;" height="40" width="145">

    Thanks for the quick reply alchymyth. Unfortunately no luck with either of those 2 suggestions.

    They still return the path ‘images/logo.png’ instead of ‘/images/logo.png/ on pages other than the home page.



    Forum Moderator

    They still return the path ‘images/logo.png’

    did you refresh the browser, or clear the browser cache?

    have you kept any edited code in your site right now?

    I tried both of those things.

    The edited code is live right now:

    <?php do_atomic( ‘before_header’ ); // oxygen_before_header ?>

    <div id=”header”>
    <img src=”<?php bloginfo(‘url’); ?>/images/bet-types-logo2.png” alt=”bet-types-explained-in-detail” style=”float:left;” height=”40″ width=”145″>
    <?php do_atomic( ‘open_header’ ); // oxygen_open_header ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Header image only appearing on home page’ is closed to new replies.