Wednesday 29 March 2006

Customizing your header: another way to add an image

I found another way to add an image to your header at Blogger Forum written by thrbr.

Look in your Minima template for:
- - - - - - - - - - - - - - - - - - - - - - - - - -
<div id="header">

<h1 id="blog-title">
<ItemPage><a href="<$BlogURL$>"></ItemPage>
<$BlogTitle$>
<ItemPage></a></ItemPage>
</h1>
<p id="description"><$BlogDescription$></p>

</div>
- - - - - - - - - - - - - - - - - - - - - - - - - -
and replace <$BlogTitle$> with <img src="http://your_address/your_image.jpg" border="0"/>
- - - - - - - - - - - - - - - - - - - - - - - - - -
<div id="header">

<ItemPage><a href="<$BlogURL$>"></ItemPage>
<img src="http://your_address/your_image.jpg" border="0"/>
<ItemPage></a></ItemPage>

<p id="description"><$BlogDescription$></p>

</div>
- - - - - - - - - - - - - - - - - - - - - - - - - -
1) Be sure to use an absolute path for the image!
2) No need for that <h1></h1> anymore;
3) If you only want that image you can delete that <p id="description"><$BlogDescription$></p> too!

post signature

No comments:

Post a Comment