• I’m using twenty eleven
    I want to insert a logo at the top of my pages in place of the site title and tagline.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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&#8221; 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.

    Thread Starter Soukous

    (@soukous)

    Thanks jason,

    I’ll have a go at working my way through that and let you know how I get on

    Thread Starter Soukous

    (@soukous)

    I’m not having much success here
    I’ve tried twice and both times the home page would not load, just came up blank and said there was an unexpected error.

    does it matter whether my logo file is <logo.png> or logo.jpg> ? would that cause the error?

    Thread Starter Soukous

    (@soukous)

    at the moment the logo.jpg file is sitting in my media library. Should it be somewhere else?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I insert a logo at top of page where title and tagline sit?’ is closed to new replies.