How do you add a header image to wordpress blog

6 replies
Hello All,
I was wondering if there is any way to add a header image to a wordpress blog. The standard header is OK and it seems all you can do is change the text and change the color but I was wondering if you can add a header some way.

Is there a plugin for this? Or do you have to edit the header.php file and add some code to add a header image to a wordpress blog. If so what code would you add to header.php.

Mike
#add #blog #header #image #wordpress
  • Profile picture of the author Suzanne Morrison
    HI Mike,

    I am not aware of any plugin for this.

    It is dependent on the theme that you are using, so you will need to ensure that the dimensions of your new header graphic fit in with your theme.

    You would need to upload the new header graphic via FTP or cpanel to your site and then edit the header.php file in the theme directory to use that new header. Find the place in the code where the current header image is being referenced and replace that with the path to the new image.

    Cheers,
    Suzanne
    {{ DiscussionBoard.errors[1022952].message }}
  • Profile picture of the author new2ebiz
    Use this method with caution if you are new, but here is how I change the header sometimes.

    First I discover if the header is a graphic or not. I use the mouse (rightclick) and discover the properties so I can find the path to the header graphic.
    That also tells me the size, name, and format.
    I create a new graphic the same size and using ftp change the name of the original header file to header-1st.png or whatever name was first used. This way I can rename and change it back if my new header looks bad, etc.
    I than upload my new header using the same name that was originally used with that theme. Refresh the page. And check to see if all is working well.

    This technique does not require me to edit php files.

    I don't know of any plugin because there are so many different themes, names of headers, formats for headers, etc.

    Hope this helps.
    Signature
    {{ DiscussionBoard.errors[1022996].message }}
  • Profile picture of the author Jamie Orman
    It normally depends on the theme. Sometimes the theme well let you upload your own header to it.

    If not, the way I do it involves using a server client. It involves finding the name of the image, changing your header to have the same name, and uploading it. Just like how new2ebiz says.

    If you can't do that, then I would suggest getting a different theme that lets you change the header in it. They normally have a a place on the sidebar letting you change this.

    Good luck!
    {{ DiscussionBoard.errors[1023009].message }}

Trending Topics