Change Site title to a image?

Venom

Seasoned Veteran
Joined
Sep 12, 2012
Messages
3,798
Reaction score
0
FP$
0
How can i change it?.

This is the code in the header.php

Code:
<div class="blogname">
	<h1><a href="<?php bloginfo('siteurl');?>/" title="<?php bloginfo('name');?>"><?php bloginfo('name');?></a></h1>
	<h2><?php bloginfo('description'); ?></h2>
</div>

Thanks.
 
Dennis said:
How can i change it?.

This is the code in the header.php

Code:
<div class="blogname">
	<h1><a href="<?php bloginfo('siteurl');?>/" title="<?php bloginfo('name');?>"><?php bloginfo('name');?></a></h1>
	<h2><?php bloginfo('description'); ?></h2>
</div>

Thanks.

Use this instead:

Code:
<div class="blogname">
	<a href="<?php bloginfo('siteurl');?>/" title="<?php bloginfo('name');?>"><img src="yourimgepath.png" /></a>
	<h2><?php bloginfo('description'); ?></h2>
</div>

You can also delete
Code:
<h2><?php bloginfo('description'); ?></h2>

If you don't want the description to show up.
 
better to use css display:none; on h1 and h2 tag and add image underneath.
 
How do I do that?. sorry for noob question but I forgot.

Thanks.
 
.logo or whatever class the image has {
width:200px;
height:100px;
}

change the numbers to suit
 
Back
Top Bottom