Adding an image to Black-Letterhead theme

Last Updated 23.02.06

Black-Letterhead is the name of the theme that I’m using as the layout for this site. It took me quite some time to figure out how to add the image for the header, and when searching for information I couldn’t find an “easy” answer; that’s why I decided to show here the code that I changed in case it may be of help to others. (disclaimer: I’m anything but an expert in this field, so I don’t know if it will work for you -but it has worked for me).

In header.php , this is how the body looks like:

<body>

<div id="page">

<div id="header">

<div align="center"><a href="http://envelooponline.com/nan/">

<img src="http://envelooponline.com/nan/images/nan-title1.jpg" alt="" width="504" height="144" vspace="25" border="0" align="left" />

</a></div><br><br><br><br><br>

<p align="center"><?php bloginfo('description'); ?></p>

</div>

Update 23.02.06 I have revised the code so that it is more readable and up to date with the site. The many <br> you see are there so that the description (amusing bits…) is centered within the rectangle.

Related Article: My favourite WordPress plugins

Related Article: It’s raining tags, alleluia!

5 thoughts on “Adding an image to Black-Letterhead theme”

  1. I have tried to hack this theme for weeks now, I’m still not able to get an image even with your code. I am on my own domain, maybe this solves your sub domain issue that you spoke of on the Codex only? If yo9u have time to help it would really gelp me.

  2. I don´t know if I´ll be able to help you because my knowledge on the field is very limited (trial and error mostly), but you can send me an email with the code you tried and I´ll see if I find something I can fix 🙂

  3. I use a version of black letterhead myself and the code i used which btw also links the img is this

    <div id=”header”>
    <br />
    <center><a href=”<?php echo get_settings(‘home’); ?>”><img src=”url to img”></a></center>
    <br />
    <div class=”description”><?php bloginfo(‘description’); ?></div>

    Hope that helps

Leave a Reply

Your email address will not be published.