Forums

[resolved] [closed] Comments styling (3 posts)

  1. jimmytubbs
    Member
    Posted 2 years ago #

    I want to make my comments to go a different stlye whenever a user posts than the general public.

  2. @mercime
    Member
    Posted 2 years ago #

  3. Mark / t31os
    Moderator
    Posted 2 years ago #

    If your theme uses wp_list_comments, the only thing you need to do is add the classes in your stylesheet...

    You can get these by checking the source of the page...

    Examples:

    .bypostauthor {}
    .odd {}
    .alt {}

    and so on...

    The above links will help, this one to.
    http://www.kremalicious.com/2008/12/howto-styling-author-comments-with-wordpress-27/

    You can take this a step further and create a custom callback for the wp_list_comments() function, then add you own classes, i can expand on this if you wish to know more, or just click here.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.