WordPress.org

Ready to get started?Download WordPress

Forums

Custom Header with Logo Image not working (16 posts)

  1. thepranamama
    Member
    Posted 4 years ago #

    I have followed directions on how to insert logo image into header.php code but the logo is showing up as a ? box. Any idea why or how to resolve? I am using oriental theme, my url is thepranamama.com. (i've left it as the default header setting until i can figure out what i am doing wrong)

    thanks!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Upload a header image called header.jpg (max: 123px high) to the images folder within your current theme's folder. Then edit your theme's style.css file and try changing:

    #header {
    height:123px;
    }

    to

    #header {
    height:123px;
    background:url(images/header.jpg) left top no-repeat;
    }
  3. thepranamama
    Member
    Posted 4 years ago #

    Thank you - I did this but no change - still the same default heading. Do I need to also edit the header.php file? what should the code say?

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    No - you don't need to edit any other code. You just need to upload the header image to the correct folder.

  5. thepranamama
    Member
    Posted 4 years ago #

    the folder i uploaded to was wp-content/themes/oriental/images - isn't that the correct folder?

  6. esmi
    Forum Moderator
    Posted 4 years ago #

    Right folder but perhaps you mis-named the image?

    http://thepranamama.com/wp-content/themes/oriental/images/header.jpg

    404 Not Found

  7. thepranamama
    Member
    Posted 4 years ago #

    aha! does it matter where my wp-content folder is kept? i have a macbook and it's currently in the "downloads" folder. where should i move wp-content? thanks for your patience, i am figuring this out as i go along!

  8. esmi
    Forum Moderator
    Posted 4 years ago #

    Sorry? You've lost me. Is your image on your site's server somewhere? Can you view it in your web browser via your domain?

  9. thepranamama
    Member
    Posted 4 years ago #

    I have changed the size to 123 px by 123 px. (It is square) I have saved it under my wp-content folder which is where everything related to wordpress and my site have been saved. they are just housed on my hard drive under "downloads" because all downloads first go to this location and i never copied it to go anywhere else. (is this not my site's server?)

    I cannot view the image in my web browser - before it had a ?, now it just looks exactly the same (title default from theme).

    Thanks again - I don't know why I am having so much trouble.

  10. thepranamama
    Member
    Posted 4 years ago #

    wait, do you mean to upload the image to my wordpress dashboard library of images? i've just been saving it on my hard drive but in the wp-content/themes/oriental/images folder -

  11. thepranamama
    Member
    Posted 4 years ago #

    no i am pretty sure the theme files are kept on my local hard drive under wp-content/themes/oriental/images/header.jpg

    this is exactly where it is and it's not working - is it possible this theme won't allow it? i'm very frustrated.

  12. esmi
    Forum Moderator
    Posted 4 years ago #

    No! You can't keep the image on the hard drive of your computer and then expect the rest of the world to be able to see it!

    The image must be uploaded to your web server's wp-content/themes/oriental/images folder using FTP to whatever file manager is available via your hosting provider.

  13. thepranamama
    Member
    Posted 4 years ago #

    OK! thanks - that must be the problem - I am confused about where files are kept. I will check it out with my hosting provider. Thanks!

  14. digitalartempire
    Member
    Posted 4 years ago #

    hey esmi can i email you a queation or three ; )
    i would like to change the header image in my blog can you tell me how i can do this pls tx

  15. thepranamama
    Member
    Posted 4 years ago #

    THANKS esmi, this worked - I am a dope, did not realize I had to upload files to the FTP server as WP has been doing this automatically with my content and themes so far.

    Any general info. or resources on how to move the header.jpg or the default text that is next to it so it is laid out as desired?

    Right now when I upload that header image it is too far to the left and the name/description default heading is overlapping it. thanks again, TPM

  16. kimmelrn
    Member
    Posted 4 years ago #

    hi is anyone there, I need help. Similar topic, my site is http://www.mynursingedu.com and I want to shrink the header so that people can view my page, as well as put another script or picture in the header area.
    Thanks,
    nan

Topic Closed

This topic has been closed to new replies.

About this Topic