• I’ve been looking around and everyone says the solution is to take “send” out of the following code:

    if ( empty( $value ) )
    		$value = __('send', 'wpcf7');

    That’s the first thing I did after I replaced my submit button with an image but ‘Submit’ is still overlaid the submit button image, and I’m at a loss as to what to do.

    NB: I’ve taken “send” leaving a space ‘ ‘ instead of ”, in fact I’ve tried every combination but nothing.

    Would it have to do with how I created the submit button image? In the latest version of CF7 I had to add $atts['class'] = 'button'; into my submit.php before adding the following into my CSS

    .button {
    	background-image: url("imageurl.gif");
    	background-repeat: no-repeat;
    	margin: 0px 0px 0px 0px;
    	padding: 0px;
    	float: left;
    	height: 35px;
    	width: 133px;
    	border: 0 none;
    	cursor: pointer;
    }

    Any help would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try:

    $atts['class'] = 'my_button';

    Also review the output CSS for the whole form and make it:

    #wpcf7-f????-p????-o1 .my_button {
    //blah blah blah
    }

    Study the original output CSS for this style (wpcf7-f????-p????-o1).

    It’s form and post id.

    I have done that by using (non-breaking space).

    [submit " "]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Contact Form 7 – Cannot get rid of 'send' text from submit button.’ is closed to new replies.