WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Changing the font color of the text input (4 posts)

  1. nagli
    Member
    Posted 3 years ago #

    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/

  2. webjunk
    Member
    Posted 3 years ago #

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

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

  3. nagli
    Member
    Posted 3 years ago #

    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.

  4. nagli
    Member
    Posted 3 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic