WordPress.org

Forums

Contact Form 7
Changing Error Color (4 posts)

  1. psellers
    Member
    Posted 3 years ago #

    I have been working for a few hours trying to change the color of the error boxes. I just can't seem to make it happen.
    I am referring to the box that says "Please fill the required field". I have changed the css for some reason it stays red.
    Any help would be greatly appreciated.

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    What color do you want?

  3. psellers
    Member
    Posted 3 years ago #

    I am looking for maybe a grey background with black text and the red border.

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    Ok. Add this to your theme's style.css file.

    div.wpcf7 span.wpcf7-not-valid-tip {
    	color: black;
    	background: grey;
    	border: 1px solid red;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic