WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] I Cant change the color of the comments on CSS pleas help! (5 posts)

  1. stagegb
    Member
    Posted 5 years ago #

    please can someone help me i tryed everything to change the color of the comment text but none of the CSS work even added a <div style=" around the part where comment come out
    look the text color is 2 light and cant see on the dark barkground Link

    thanks :)

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Try adding the following to the bottom of your stylesheet:

    .commentlist li div {
    color:#999;
    }
  3. stagegb
    Member
    Posted 5 years ago #

    nope didnt work i dont know why

  4. satakest
    Member
    Posted 5 years ago #

    start at the top and get rid of this

    <style>
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <meta content="text/html; charset=iso-8859-2" http-equiv=Content-Type>

    and this at the end

    </STYLE>

    that stuff does not belong in a stylesheet, then do something about this rule

    td, p, div {color:#4f4f4f; font-family:Trebuchet MS; font-size:11px; line-height: 12px;}

    since you are telling all paragraphs to have a color of #4f4f4f you need to be more specific with the comment rule or this one will just override it. this will work (but it's an ugly way to do it)

    .commentlist li p {color:#fff}

    You can use the firebug plugin for firefox to untangle css messes.

  5. stagegb
    Member
    Posted 5 years ago #

    :) thanks alot! it works

Topic Closed

This topic has been closed to new replies.

About this Topic