WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Red square error are empty (2 posts)

  1. wpfrance
    Member
    Posted 3 years ago #

    Hi,

    I make a form with contact form 7.

    Creation of the form is ok and the page who must display the form also.

    But, if i submit the form with error i can see the red square but nothing in.

    I have the same form on another wp site and it works perfectly. (If i submit the form with error i can see the red square with the error message)

    I think the problem is from the theme i use (http://designdisease.com/blog/designdisease-theme-released/). Maybe css conflict ?

    Can anyone give me a hint to solve the problem ?

    thanks

  2. wpfrance
    Member
    Posted 3 years ago #

    I find the solution.

    It was a css conflict.

    In my case in the file styles.css of your plugin, search the span.wpcf7-not-valid-tip tag and add color (color :red)

    span.wpcf7-not-valid-tip {
    
        position: absolute;
    
        top: 20%;
    
        left: 20%;
    
        z-index: 100;
    
        background: #fff;
    
        border: 1px solid #ff0000;
    
        font-size: 10pt;
    
        width: 280px;
    
        padding: 2px;
    
        color:red; // Here is the color
    
    }

    It must work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic