WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Contact Form 7] Changing the font color of the text input

[Resolved] [Plugin: Contact Form 7] Changing the font color of the text input

  • Sounds a bit silly, I try to change the color of the text in the input box of the contact form from white to black (I have a black page background and white font on the page). I placed selectors into the theme style sheet and the plugin style, but they get overwritten.
    Is there a trick to it? i am using wpfc_7-text as the class selector.

    Does anybody has some experience with this? Thanks for your help.

    http://wordpress.org/extend/plugins/contact-form-7/

Viewing 3 replies - 1 through 3 (of 3 total)
  • webjunk
    Participant

    @webjunk

    Try editing:
    #content, #content input, #content textarea

    Otherwise would help know what code put in the styles.CSS

    If I edit #content, #content input, #content textarea selectors, I also change the color of the page font to black, and I can’t do this, because the page background is black.
    I added “span.wpcf7-text{color:#000000;}” to the end of the theme style sheet and the plugin (contact-7) style sheet.
    If I check the css in Firebug, I get strike-thru (overwritten). I just cannot find from where it get overwritten.
    wpcf7-text is in the class of the input element. So that should be the closed I can get to it.

    Thanks for you help.

    I got it! Sometimes a little push into the correct direction helps a lot,
    Used #content input on the end of the style sheet, to set the font color.

    Thanks a lot for the nudge!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Contact Form 7] Changing the font color of the text input’ is closed to new replies.