Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1108704

    Hi
    I use Contact Form 7 in a text-block inside a color section.
    How can I change the font color of error messages (e.g. “This field is required.”)?
    I tried the styling options in enfold-child with no luck.
    I also tried

    div.wpcf7-validation-errors 
    {
    	color: #3345f5
    }

    https://wordpress.org/support/topic/how-to-change-color-of-response-message-text/

    Can you help, please?

    Thanks
    Bruno

    • This topic was modified 5 years, 5 months ago by bruwa.
    #1108716

    Hey bruwa,
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    span.wpcf7-not-valid-tip {
     color: #3345f5 !important; 
    }

    2019-06-09-180252

    Best regards,
    Mike

    #1108764

    Hi Mike
    Bingo! Your code was the solution.

    Thank you for your very fast answer!

    Best regards,
    Bruno

    • This reply was modified 5 years, 5 months ago by bruwa.
    #1108794

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to change the font color of an error message (contact form 7)’ is closed to new replies.