WordPress.org

Ready to get started?Download WordPress

Forums

Infinity
Change the color of text font for comments (3 posts)

  1. Beet
    Member
    Posted 1 year ago #

    Please help. I would like to darken the color of the comments font (currently light grey) but cannot seem to find the CSS for this. Where is it located please?

    site: http://www.schoolboyrugby.co.za/blog

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Looks like that's set here:

    .commentlist li.comment, .commentlist li.pingback {
        background: none repeat scroll 0 0 #F8F8F8;
        border: 1px solid #EEEEEE;
        border-radius: 2px 2px 2px 2px;
        color: #808080;
        margin: 0 0 20px;
        overflow: hidden;
        padding: 15px;
    }

    but be sure to use a Child Theme or custom CSS option or plug-in for any modifications -- otherwise they will be overwritten when your theme is updated.

    When you have that set up, just add this code to it:

    .commentlist li.comment, .commentlist li.pingback {
        color: #808080;
    }
  3. Beet
    Member
    Posted 1 year ago #

    Thank you very much WPyogi. I tried changing that before but I think I did not make the grey dark enough to notice the difference.

    Also thank you for the advice re: Child Theme. Much appreciated.

    Kind regards.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic