CF7 Response is Always Warning Colour in 5.2+

As the title states, Contact Form 7’s response will always render with the warning colour with CF7 versions greater than or equal to 5.2. This can be tracked back to this change.

This is Pro’s current CSS for a success response:
image

But since CF7 version 5.2, the wpcf7-mail-sent-ok class is no longer used to indicate that the message was sent. Now, the sent class is attached to the response’s parent form:

So to correct the CSS, you need to change .wpcf7-mail-sent-ok to .wpcf7-form.sent .wpcf7-response-output.

This issue also affects the other types of responses, so those will need to be amended too.

Additionally, it seems the close button is no longer being output in the response. I’m unsure of what change caused this.

1 Like

Hello @amst_ws,

Thanks for writing in!

I suspect that this is a bug in the latest release of the theme. This has already been added to our issue tracker and will be looked into by our development team. I cannot make any promises relating to a fix at this stage. I will add a note to the tracker referencing your report though so our dev team can see there are multiple reports of the issue.

Best Regards.

Thanks @ruenel!

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.