In most themes, you can just go into your Appearance >> Theme Options and handle everything there. But for 2011, here’s how to add logo to twenty eleven wordpress theme
#1. Login to your Dashboard.
#2.Click Apperance -> Editor
#3. Open header.php file and check for below line
<?php bloginfo( ‘name’ ); ?>
#4. delete the particular code ( exactly above one ) and replace it with the below code.
<img src=”https://yoursite.com/logo.png” alt=”your site name” width=”200″ height=”35″/>
#5. Now you have to remove the description that comes along with your logo. For this just remove the below code.
<?php bloginfo( ‘description’ ); ?>
#6. Last step upload your logo to your home folder and name it as logo.png, if you are uploading some where or if you have any other dimensions for your logo update code at point4 ( #4 ).
Thats it, now enjoy your favourite twenty eleven theme with logo.
If you find your image is stretched too much then check the following options
- Make sure your image size and size specified at #4 are one and the same
- if the problem continuous go to Dashboard->Apperance->Editor->Style.css and check for below part of code
#branding img {
height: auto;
margin-bottom: -7px;
width: 100%;
}
and remove width:100%
Answer from: This website about adding a logo to your 2011 theme.