Forums

Make no comments text red (4 posts)

  1. chrisw87
    Member
    Posted 3 years ago #

    All i wish to do is make the small piece of text which says no comment red to highlight that no one has commented yet.

    Which file has the "no comment" text in so i can change it to "no comment yet"?

    And which part of the stylesheet changes the text colour?

    I know it may seem pedantic but i would like to change these if possible.

    Regards,

    Chris

  2. Oren Yomtov
    Member
    Posted 3 years ago #

    Please link your website.

  3. chrisw87
    Member
    Posted 3 years ago #

    here is my website, http://www.indiescreet.com/

  4. Oren Yomtov
    Member
    Posted 3 years ago #

    Search for
    <?php comments_popup_link(__('no comments', 'elegant-grunge'), __('1 comment', 'elegant-grunge'), __('% comments', 'elegant-grunge')); ?>

    in index.php,search.php and replace it with
    <span class="eg_comments"><?php comments_popup_link(__('no comments yet', 'elegant-grunge'), __('1 comment', 'elegant-grunge'), __('% comments', 'elegant-grunge')); ?></span>

    Then open the theme's style.css file and add at the bottom

    .eg_comments {
    	color:red;
    }

    or whatever you want.

Topic Closed

This topic has been closed to new replies.

About this Topic