Better Twenty Eleven Comments

I find the comments in Twenty Eleven take up far too much room and it’s always bothered me. I posted some CSS on the forums here that tightened them up a bit, but it had a few issues.

Today while working on NomNom theme, I had it set to the single column layout and noticed the comment avatars were not pushed over the the left side, but instead placed inside the comment box and it looked really nice. I thought, this is just what I need for my narrow layouts and even 3 column layouts as the narrow comment area is precious and doesn’t need to be used up with a bunch of padding and an image.

Here’s before and after screenshots while using my left/right sidebar layout of NomNom.

Anyways, I haven’t decided if I will add this to all the layouts for NomNom, or just for the ones that need it, I try to keep the look of NomNom the same as Twenty Eleven, and just offer options and easy on/off features.

This should work perfectly with any Twenty Eleven theme that hasn’t modified the comments. However, NomNom theme will require a few CSS edits because I adjusted the comments, if you don’t want to risk doing them, just wait until the next version.

Leave a comment and let me know if you think I should add these to all layouts in NomNom, or just the extra ones I’ve added. (I’ve had to edit this code 3 times, if you notice an issue, please report it.)

31 thoughts on “Better Twenty Eleven Comments

  1. Brandon

    I don’t know why the WordPress team left the talking avatar image in the styling when using the single column layout. The avatars are moved to the right due to size constraints but the talking avatar image is still present on the left side like some vestigial organ. Anyway, the “content:none” style did the trick. Thanks.

    1. Zeaks

      Post author

      I’ve never cared for Twenty Elevens comment styles. It looked nice for the first few minutes, then it was just annoying at how much space was wasted to make them fancy.

      I re-styled them in NomNom to look like these ones, but left the option to show the old ones.

  2. Himadri

    I want to change the comment box of my web blog but cannot getting any suitable code to edit this.Please suggest me.

  3. George

    I’m using your TwentyEleven-Layouts theme. Which is great by the way for a three column layout.
    I’ve tried everything available on the web to remove the website field in the comment box without success.
    Can you please tell me how to get rid of it?


Leave a Reply to Brandon Cancel reply