WordPress.org

Ready to get started?Download WordPress

Forums

Header Image (24 posts)

  1. DineVine
    Member
    Posted 9 years ago #

    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

  2. orangeguru
    Member
    Posted 9 years ago #

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

  3. DineVine
    Member
    Posted 9 years ago #

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

  4. mat
    Member
    Posted 9 years ago #

    have you cleared the cache??

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

  5. DineVine
    Member
    Posted 9 years ago #

    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">

  6. DineVine
    Member
    Posted 9 years ago #

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

  7. AsceticMonk
    Member
    Posted 9 years ago #

    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.

  8. DineVine
    Member
    Posted 9 years ago #

    the URL for my site is Dinigonthevine.com

  9. DineVine
    Member
    Posted 9 years ago #

  10. AsceticMonk
    Member
    Posted 9 years ago #

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

  11. mat
    Member
    Posted 9 years ago #

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

  12. DineVine
    Member
    Posted 9 years ago #

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

  13. AsceticMonk
    Member
    Posted 9 years ago #

    Or simply change to personalheader.jpg

  14. DineVine
    Member
    Posted 9 years ago #

    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;}

  15. James
    Happiness Engineer
    Posted 9 years ago #

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

  16. AsceticMonk
    Member
    Posted 9 years ago #

    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.

  17. DineVine
    Member
    Posted 9 years ago #

    I have made the changes but nothing seems to help.........after I save the file is there anything else I need to do

  18. DineVine
    Member
    Posted 9 years ago #

    My file header.php currently looks 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('http://diningonthevine.com/wp-content/themes/default/images/personalheader.jpg') no-repeat top;}

    </style>

    This makes no change on my webpage though.............I have also named and placed the file personalheader in the image file located at wordpress/wp-content/themes/default/images

    any suggestions would be so helpful....thanks to all who have help so far

  19. AsceticMonk
    Member
    Posted 9 years ago #

    I don't know if you read my previous replies. I just took a look of your source code, your #header definition is still not changed.

  20. James
    Happiness Engineer
    Posted 9 years ago #

    Which CSS file are you changing? You want to alter /wp-content/themes/default/style.css .

  21. ColdForged
    Member
    Posted 9 years ago #

    When I try to load the image that you have specified in your #headerimg style, which is this img, I get a "file not found" 404 error. That's at least part of the reason you're not getting anything to display.

  22. DineVine
    Member
    Posted 9 years ago #

    I finally got it working........I was updating the file in the Word Press folder. When I updated the file located in the Public HTML folder it worked.......thanks to everybody for helping and having the patience with a beginner........thanks again...

  23. karemee
    Member
    Posted 7 years ago #

    I am having the same problem. where do I find the "Public HTML folder?"

  24. jonradar
    Member
    Posted 7 years ago #

    Hey all - I am having this exact same problem. I'm trying to change the header image on my site, mylifeonmars.com, and i've followed all the advice above and it isn't working. please help. thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags