Sunday, January 17, 2010

Blogger spacing problem solved

If you dislike Blogger’s odd spacing before and after block quotations, here’s a fix.

Look in your Blogger template for “.post {”:

.post {
  margin:.5em 0 1.5em;
  border-bottom:1px dotted $bordercolor;
  padding-bottom:1.5em;
  line-height:1.6em;
  }
Note the line-height. Now look for “.post blockquote {”:
.post blockquote {
  margin:1.6em 20px;
  }
Change the em number to match the line-height you found above, as I’ve done here. That’s it.

[Usual disclaimers apply: tinker at your own risk.]

comments: 0