Make logo image linkable


/ Published in: CSS
Save to your folder(s)

The CSS code uses the Twenty Ten default them


Copy this code and paste it in your HTML
  1. #site-title {
  2. float: left;
  3. font-size: 30px;
  4. line-height: 36px;
  5. margin: 0 0 0 0;
  6. width: 200px;
  7. }
  8.  
  9. h1#site-title a{
  10. display:block;
  11. width:940px;
  12. height:90px;
  13. background: transparent url("./images/logo.png") no-repeat top left;
  14. text-indent: -9999px;
  15. padding:0;
  16. margin:0;
  17. }
  18.  
  19. #site-title a{
  20. display:block;
  21. width:940px;
  22. height:90px;
  23. background: transparent url("./images/logo.png") no-repeat top left;
  24. text-indent: -9999px;
  25. padding:0;
  26. margin:0;
  27. }
  28.  
  29. #site-description {
  30. float:left;
  31. width:940px;
  32. display:none;
  33.  
  34. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.