Grow your CSS skills. Land your dream job.

WordPress 3.1 / CSS / comments ol

  • # March 9, 2011 at 9:47 am

    In single.php, in wordpress 3.1, I want the ol that displays comments to have list-style-type of none so you don’t see a number before each comment. But how can I target just the ol in comments without removing list-style-type for other content?

    In wp 2.8 the ol has a class of commentlist. (was easy to target)
    In wp 3.1 the ol doesn’t have it’s own class but each li has a different ID and class.

    Any ideas?
    Thank you,
    Charlie

    # March 9, 2011 at 9:57 am

    Got it!

    #main-content .comment

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".