How to Remove Confirmation Message Box Styling

Overview

Would you like to remove the confirmation message box styling? If you’d like to change this styling to match your own company branding, you can easily do this. In this tutorial, we’ll show you how to update the styling on the message using custom CSS.

By default WPForms styles the form confirmation message inside a green box. In some cases, this styling may need to be changed or removed. With a few CSS rules, it can be easily disabled.

Setup

The CSS snippet below will remove the green styling WPForms applies when the confirmation message appears.

You can also change the properties in the CSS rules below to adjust the styling if needed, such as change the background to a different color on the confirmation box.

We show two different examples of adding the CSS below.

div.wpforms-confirmation-container-full {
	color: inherit;
	margin: 0;
	background: none;
	border: none;
	padding: 0;
}

div.wpforms-confirmation-container-full p:last-of-type {
	margin: inherit;
}

With the CSS shown above, it removes the background color and border from the confirmation message.

Remove Confirmation Message Box Styling

If you just wanted to change the background color from the green to something different. Your CSS would look something like this.

div.wpforms-confirmation-container-full {
    background: #333333;
    color: #ffffff;
    border: none;
}

To the adjust CSS snippet shown above, the confirmation message will have a darker background and white text.

confirmation message box changing the background color

And now you’ve successfully adjusted the styling on the confirmation message! Would you like to know how to create your own custom Smart Tag? Please view our article on How to Create a Custom Smart Tag.