Support » Themes and Templates » Header Image

  • DineVine

    (@dinevine)


    I’m having a problem inserting my header image. I renamed the file personalheader.jpg and put it into the image file. I then changed the header.php file by editing out /* and */ ……it just wont work….Please help

Viewing 15 replies - 1 through 15 (of 23 total)
  • orangeguru

    (@orangeguru)

    Which WP version?
    Which theme?
    Which URL?
    And how does the code look like?

    DineVine

    (@dinevine)

    Im using WP 1.5 in the Default theme. do I need to attatch a url for the header?

    mat

    (@mat)

    have you cleared the cache??

    more info would help, perhaps a URL as orangeguru suggests.

    DineVine

    (@dinevine)

    I changed the code to look like this

    /* To ease the insertion of a personal header image, I have done it in such a way,
    that you simply drop in an image called ‘personalheader.jpg’ into your /images/
    directory. Dimensions should be at least 760px x 200px. Anything above that will
    get cropped off of the image. */

    #headerimg { background: url(‘<?php bloginfo(‘stylesheet_directory’); ?>/images/personalheader.jpg’) no-repeat top;}

    </style>

    <?php wp_get_archives(‘type=monthly&format=link’); ?>

    <?php wp_head(); ?>
    </head>
    <body>

    <div id=”page”>

    DineVine

    (@dinevine)

    Thanks for all the help…Im very new o this and dont know how to clear the cache

    AsceticMonk

    (@asceticmonk)

    Make sure you have #header commented out or changed as well.
    That’s just my guess, cuz someone had a similar problem yesterday. Please provide URL if you need further help.

    DineVine

    (@dinevine)

    the URL for my site is Dinigonthevine.com

    DineVine

    (@dinevine)

    AsceticMonk

    (@asceticmonk)

    Ok I just viewed your page.
    Do what I suggested in my previous reply.

    mat

    (@mat)

    when I view the source of your site I still see that the #headerimg is commented out.

    DineVine

    (@dinevine)

    How do I comment out the #heading…..does comment out mean delete?

    AsceticMonk

    (@asceticmonk)

    Or simply change to personalheader.jpg

    DineVine

    (@dinevine)

    I have this in there now….is this right?

    #headerimg { background: url(‘http://continuous-play.com/wp-content/themes/default/images/personalheader.jpg’) no-repeat top;}

    Moderator James Huff

    (@macmanx)

    Kubrick (WP Default Theme) Support Forums:
    http://flickr.com/groups/binarybonsai/

    AsceticMonk

    (@asceticmonk)

    What I meant is this:

    #header { background: url("http://diningonthevine.com/wp-content/themes/default/images/kubrickheader.jpg") no-repeat bottom center; }

    You need to change this to point to your own header image.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Header Image’ is closed to new replies.