Skip to content
UFO Performance Marketing

Where intelligence is put to the test.

HomeServicesOur WorkBlogAboutContact Us
MenuClose

Explore UFO

HomeServicesOur WorkBlogAboutContact Us

Where intelligence is put to the test.

WordPress · Oct 16, 2014

5 Minute Professional Wordpress Comment Styles

5 Minute Professional Wordpress Comment Styles
JC
John Crenshaw
Oct 16, 2014

Comment styles will really set your blog apart. It's something that is all too often overlooked in blog design, but it's one of those finishing touches that really round out a well-designed WordPress theme. In this article we'll have you styling your WordPress comments like a pro in 5 minutes.

Let's start taking a look at the source code of the comments section. The following screenshot is the source for the default comments on my Default WordPress theme:

Default WordPress comment output
Default WordPress comment output

As you can see, by default, WordPress assigns certain classes to the comments section just to make it easy for you to style it. Here's an image of what's displayed, followed by the same image with the important elements outlined:

WordPress comment styles rendered
How those WordPress comment styles are rendered
Rendered WordPress comment styles detail
Outline of major elements in the rendered comments

So, you should be able to see from the two figures above that we just need to reference the ids and classes that wordpress automatically assigns to the comments in our style.css file.

So, using Figure 3 above as a reference, if we want to style the heading that says "3 Responses to 'An image in a post' " so that the text is blue, we'd need to add an entry to our style.css file like so:

1
2
3
h3#comments {
    color: blue;
}

Then if we wanted to, say, outline the entire comment section with a big, ugly, red 5 pixel border, we'd add an entry to style.css like so:

1
2
3
ol.commentlist {
    border: 5px solid red;
}

As you can see, just by using the classes and ids that WordPress auto-assigns certain elements, you can really control the way comments are displayed. In the future I'll get a bit more specific and show some examples of what can be done with this technique.


WordPress

Get the latest from UFO

Keep reading

More from the blog

All Posts →
Standout Author Comments
WordPress

Standout Author Comments

Make it immediately obvious which comments in WordPress were written by the post author by styling your author comments differently. This post shows you how.

John Crenshaw · Oct 16, 2014
Using WordPress Custom Fields
WordPress

Using WordPress Custom Fields

Using WordPress as a CMS often for client sites I use custom fields perhaps quite a bit more than the regular WordPress user.

John Crenshaw · Oct 16, 2014
Using the "More" Tag on WordPress Pages
WordPress

Using the "More" Tag on WordPress Pages

How to use the "more" tag in the blog section to accomplish the standard blog setup with the beginning of a post on the homepage and the rest on the single post page, with a "Read more" link allowing the reader to click through to the latter.

John Crenshaw · Oct 16, 2014

Want results like these?

Let's talk about where you are, where you want to go, and the smartest way to get there.

Contact Us
UFO

Where intelligence is put to the test.

  • Home
  • Services
  • Our Work
  • Cool People Saying Smart Things
  • About
  • Partners
  • Testimonials
  • Blog
  • Marketing Library
  • Agency Guides
  • Careers
  • Contact Us

Offices

  • Cincinnati, OH
  • Columbus, OH
  • Portland, OR
  • (513) 549-7355
Contact Us
Google 5.0 five star rating Google Ads Premier Partner 2026
© Copyright 2026 UFO Marketing. All rights reserved. Privacy Policy | Terms of Use