WordPress.org

Ready to get started?Download WordPress

Forums

Mantra
[resolved] Change Comment Background Color or Font Color (14 posts)

  1. c3demofit
    Member
    Posted 1 year ago #

    [Code moderated. A link to your website is sufficient.]
    Site: http://c3crossfit.com As you can see, the comment text is the same color as the background. I can't figure out how to change the text color and I was wondering if someone may be able to point me in the right direction

    http://wordpress.org/extend/themes/mantra/

  2. Tara
    Member
    Posted 1 year ago #

    -Try using Firefox with the Firebug add-on for this kind of CSS work. http://getfirebug.com/

  3. c3demofit
    Member
    Posted 1 year ago #

    If i can edit the CSS style sheet in wordpress, why would i use firebug? Is there a line of script I can input to simply change the background color of the comment window using the wordpress style.css?

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Firebug is just an easier way to debug CSS issues, than fishing out styles in the stylesheet. It's not meant for saving changes.

    Still, changes shouldn't be made directly to the theme's files. I'd advise to download (and install) the Jetpack plugin and use its Custom CSS section of the dashboard to hold your CSS modifications.

    Alternatively, use a Child Theme environment to hold your modifications.

  5. c3demofit
    Member
    Posted 1 year ago #

    Alright, im completely new to CSS. Ive already made a few custom changes (dropdown menu font changes) and whatnot but those were mostly by luck. I realize these will be lost if I ever update the theme, im just looking for the code to change it. This is causing a huge headache and all our comments are appearing as white on white

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    The quick-fix would be to add this CSS;

    .comment p {
    color: black !important;
    }
  7. c3demofit
    Member
    Posted 1 year ago #

    THANK YOU! You are a lifesaver! thats exactly what i was looking for

  8. Arial Burnz
    Member
    Posted 1 year ago #

    What is the code to change the comment background. This changes the font color. Sorry, I'm still learning CSS. :(

  9. the.Zedt
    Member
    Posted 1 year ago #

    Normal state: .commentlist li.comment { background: #abcdef; }
    Hover state: .commentlist li.comment:hover { background: #fedcba; }

  10. jq224
    Member
    Posted 11 months ago #

    where does this code go in the css?

    Headaches abound!!! Thanks!
    Joe
    http://www.joequinnonline.com

  11. jq224
    Member
    Posted 11 months ago #

    I'm in my style sheet, but I just can't get the text color to black... the rest of my blog is white text on black, but the comments section is white bg. Either way will work, either change the text to black, or leave it and change the bg to black.... sorry, i just don't really understand how? any help is appreciated!

    http://www.joequinnonline.com

  12. theZedt
    Member
    Posted 11 months ago #

    You can paste those in the theme's Custom CSS field.

    Remember to change the colour codes to the values you want to use.

  13. maaikeWP
    Member
    Posted 8 months ago #

    Hi jq224,

    have you found out how to do this?
    would you please let me know?

    strugling with it on this website: http://funkyorganizers.com/
    commentfields under articles as well as contactform gives me a hard time. White text on white background...

    Custom css doesn´t seem to work... :-(

  14. Andrew
    Forum Moderator
    Posted 8 months ago #

    @maaikeWP, if you need further support then you should create your own thread: http://wordpress.org/support/theme/mantra#postform

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic