[resolved] Inserting own Header Image help required (6 posts)

  1. david23
    Posted 9 years ago #

    I am trying to insert my own header image to my bog.I have changed the code in my theme template index.php and it is working only in main page articles.If i click about,contact pages,categories,archives header images is not showing can some one help me where i need to change header images.

    http://www.debianadmin.com - header image is working fine

    Header Image is not showing following pages

    http://www.debianadmin.com/category/general/ (all Category pages)
    http://www.debianadmin.com/2006/09/01/ (all archives pages)

    Thanks for your help

  2. whooami
    Posted 9 years ago #

    the about page: look at your source:

    <div id="headerblock">
    <h1 id="header"><a href="http://www.debianadmin.com">Debian Admin</a></h1>
    <strong>Your Way to Debian World</strong>
    </div> <!-- headerblock -->

    you dont even have an image defined.

    Compare THAT to your index page:

    div id="headerblock">
    <a href="http://www.debianadmin.com"><img src="../images/tuxadmin1.png" alt="Debian Admin - Your way to Debian World"></a> </div> <!-- headerblock -->

    As for the others, this ought to be simple for someone with a web site that has something to do with Debian (remember what those dots mean? ../ & ./, etc..) :) -- your using a relative path to the image.


    Adjust the path to use the full URL to the image and you ought to be good to go.

  3. david23
    Posted 9 years ago #

    thanks for your reply.I have fixed all other problems other than about and contact page i didn't get the location of page source.Could you please tell me where to change for these pages sorry for this.

  4. whooami
    Posted 9 years ago #

    are those wordpress generated pages?

    edit, nm i took a look at the theme, edit the page.php thats in your current theme's directory, assuming the above is true, of course.

  5. david23
    Posted 9 years ago #

    yes ihat did the trick

    thanks mate

  6. krugern
    Posted 9 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.