.Small modifications to the default WP theme

Well, as you can guessed, the main theme for this site is only a small work done over the default WP theme (which is IMO a very good one)

Let’s start to say how was it done. I’ll explain it in just a couple of hyper-simple steps:

1)It was necessary changing 3 images:

a) The header image:

error

b) The footer image:

error

c) The page background image:

error

The little change on /wp-content/themes/default/header.php looks like

<body>
	<div id="page">
		<div id="header">
 
		</div>
 
<hr />
 

And the modified #header css declaration is:

#header {
	/* here should go your own background color and header's image file'*/
	background: #73a0c5 url('images/kubrickheader.jpg') no-repeat bottom center;
 
	/*  new size according the new image size*/
	background-color: #73a0c5;
	margin: 0 0 0 1px;
	padding: 0;
	height: 120px;
	width: 758px;
 
}
 
 
 

2) And now, the bullets before the post title

You’ll have to modify 4 template files (always look inside /wp-content/themes/default/ ):

single.php
index.php
archive.php
page.php

adding in each on these files, the image tag

<?php
// line 17 of index.php, just to get the idea...
?>
 
		<div class="post" id="post-<?php the_ID(); ?>">
			<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">

			<?php
				//here comes the image 
				echo '<img src="http://themesforwordpress.com/images/post_bullet.jpg" alt=".">';
				//then, the title
				the_title();
			?></a></h2>
 
			<div class="entry">
 
 
 

._-_.

Leave a Reply

You must be logged in to post a comment.