Support » Fixing WordPress » Adding a class to comments_popup_link()

  • Hi! I want to add the class=”comments” to
    <?php comments_popup_link('0', '1', '% '); ?>

    so that my comments will show with a background image. But i cant, i saw someone does this and on viewsource i see he does it by including class=”comments” also there, but i cant : (

    His comments look this, i want my comments to show the same.

    <span>Comments:</span> <a href="" class="comments" title="Post Title">12</a>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Somebody please help me at least with an idea on how to do it : )

    make a div in the style.css with a background image and enclose <?php comments_popup_link…?> within the div…

    does that make sense?
    <div id=”comments”>
    <?php comments_popup_link…?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding a class to comments_popup_link()’ is closed to new replies.