Apr 3, 2011

Add a Logo to your Header Text :: CSS :: Wordpress

Edit your header.php with the following:

<div id="header">
 <div id="samplelogo"><a href="<?php echo get_option('home'); ?>/"><img src="http://www.linktoyour/logo.png" alt="" width="60" height="60" />
 </div>
  
 <p id="logo"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></p>
 <p id="strapline"><?php bloginfo('description'); ?></p>
   
</div>

Then edit your style.css
#samplelogo {
 float: left;
 padding-right: 10px;
}

No comments:

Post a Comment