WordPress – How to Change Your Image Header

One of the things that I love the most about WordPress is that it’s very flexible. One of the things that I love the least is that some things are a lot easier to change/ modify than others. One of the harder things to change is the header image.

The header image, is the image that shows up behind the title in your blog. It’s the topmost image on the blog, and is often what most people come to identify as the brand for your site.

Depending on the theme that you were using, changing the header image could be a simple matter of filling in a blank, or it could be something that required heavy coding in the CSS file of the theme in order to modify it.

Well, I don’t know about you, but the more I stay out of the CSS file, the better. Although it’s not perfect, this plugin does offer you a simple solution to creating/ adding header images to your site.

Dynamic Headers

The plugin does require you to copy and paste a short snippet of code into your theme’s file. In my case, it was the theme’s index file that needed the snippet of code, and I put it just under the line that says “.”

After I did that step, my custom image header started showing up in the site that I was working on. It was really quite painless and in my opinion, adding the image made my site friendlier to the reader.

Here’s a little bonus, if you’d rather stay away from copying and pasting code, I suggest using a theme that lets you link directly to an image that you can use as a header. The WordPress default theme called “2012” is a great theme for that.

Not only does 2012 let you just upload an image that you can use as your custom header image, but it also lets you edit the image and crop out the specific part that you want to use as your image header.

The biggest restriction about the header image, is that the image needs to be at least 1000 pixels wide by 288 pixels tall. When you upload the image, if it is not that exact dimension, you’ll have the opportunity to edit the image to make it fit that size.

Now that I think about it, it’s a lot easier to just use a theme that allows for a custom image header than to copy and paste code. However, if you have a theme that you absolutely must use, and the theme does not allow for custom image headers, a plugin will allow you to use the image that you want.



Source by Rafael Marquez

Leave a Reply