WordPress.org

Ready to get started?Download WordPress

Forums

Adding a custom CSS class to the last comment (1 post)

  1. ganzua
    Member
    Posted 5 years ago #

    Hi!

    I have post comments separeted with some dividers. Would it be possible to add a a custom CSS class to the last comment so I can remove the divider?

    You know;

    comments.php

    <ol>
    <li>first comment</li>
    <li>second comment</li>
    ...
    
    <li class="lastcomment">last comment</li>  
    
    </ol>

Topic Closed

This topic has been closed to new replies.

About this Topic