I am unable to upload my logo to the top of the twenty eleven theme in wordpress. The logo is saved as a JPEG and a PNG file under my Documents

Avatar
  • Answered
I want to keep the ocean scene picture at the top of the pages however above that, where it says, custom header, i want to upload my logo. i do not know how to do this.

thanks, andrea
Avatar
Tim S.
Hi andreaz, Thanks for posting your question. I'm sorry you're having difficulty adding a custom logo to the header of the 2011 WordPress theme. It can be accomplished however, you'll need to edit the CSS file to add an image.

It's important before you make changes to the css file that you create a copy or back up the file. that way, any changes you make can easily be reverted to the original.

  1. Open the style.css for that theme in the editor within the WordPress Dashboard
  2. Find the line of code:
  3. #site-title {

  4. Change the entry for the #site-title to:
  5. #site-title { background: url("path_to_image") no-repeat scroll 0 0 transparent; height:(size of image height)PX; width: (size of image width)PX; }

  6. Add this line of code underneath it:
  7. #site-title a, #site-description { display: none; }

  8. Save your changes
If you need further assistance please feel free to contact us. Thanks! Tim S