Editing header in theme

by 5 replies
6
I want to add a banner to the right of my logo/header image in the header of my theme. I am looking in the header in the theme editor files, and can not find the header image. I was hoping it was going to be as simple as adding code to add my banner ad to it, somehow.

No such luck!

So can anyone tell me, in simple terms, how can I add this banner to my header section of my WP blog?
#programming #editing #header #theme
  • There are almost as many ways to configure the header as there are WordPress themes. If you give us a link to your site, someone is likely to give you advice.
  • Yes, the URL would help greatly.
    • [1] reply
    • Here's how to find where it goes:

      Get firebug for firefox and install. Right click the area where you want to add the banner, click Inspect Element. This will show you a div or class name.

      You can do a search in an editor like Notepad++ that will search all files in a folder and will show you where the particular div's are located in the theme files.
  • I'm sorry but you can see your blog? What would give you advice
  • Tim, if the image you want to change it to is the same size don't bother with code - here's what I would do...

    1) Right click the image and view it's details or properties. Find where it lives.

    2) Make another image the exact same size (I usually bring the image into photoshop and add a new layer and work on that so the new image is exactly the same size.

    3) Find the image using FTP and re-name it to (for example) header.jpg-old and upload your new image as the same name (header.jpg - if that's what it's called).

    This way nothing changes in your code and the new header will show. As those above said "Post your link for more help".

Next Topics on Trending Feed

  • 6

    I want to add a banner to the right of my logo/header image in the header of my theme. I am looking in the header in the theme editor files, and can not find the header image. I was hoping it was going to be as simple as adding code to add my banner ad to it, somehow. No such luck!