How did you…

I saw the following question in one of the server logs: ‘how to put picture on blog header?’. That’s easy: most WordPress templates already come with a ‘header image’ (see for example the Kubrick template), and it’s just a matter of renaming files (this is the easiest part). Most likely you’ll need to change one of the php-files that comes with your template of choice. Look for a ‘header.php’ file.

So, how did I put that little logo at a fixed position in the header? Simple (once again): since I have no background image defined for my header, I positioned the image using the CSS background-position properties:

#header {
border-top: 3px double black;
margin: 0 0 20px 0;
background-image: url(tamarinde.jpg);
background-repeat: no-repeat;
background-position: 98% 10%;
}

This entry was posted in Wordpress. Bookmark the permalink.