How To Style Contact Form 7 Submit Button

Contact Form 7 stands as a highly favored plugin used for crafting contact forms on WordPress sites. A crucial component within any contact form is the submit button, serving the vital function of enabling users to dispatch their messages and queries. In this guide, we aim to explore methods to enhance the aesthetic appeal and usability of the Contact Form 7 submit button.

Step 1: Identify the Submit Button

The first step in styling the Contact Form 7 submit button is to identify the button itself. By default, the plugin uses a standard HTML input element with the type “submit” and the value “Send”. To style this button, we need to add some CSS rules that will override the default styles.

Step 2: Add CSS Rules

To style the Contact Form 7 submit button, we can use CSS rules. Here are some examples of how to do this:

  • Change the background color: .wpcf7-form input[type="submit"] {background-color: #333; }
  • Change the border color: .wpcf7-form input[type="submit"] {border-color: #333; }
  • Change the font size: .wpcf7-form input[type="submit"] {font-size: 16px; }
  • Change the padding: .wpcf7-form input[type="submit"] {padding: 8px 16px; }

Step 3: Test and Adjust

After adding the CSS rules, it’s important to test the changes and adjust them as needed. You can use a web inspector or a browser extension like Firebug to preview the changes in real-time.


Styling the Contact Form 7 submit button is an important step in creating a visually appealing and user-friendly contact form. By following these simple steps, you can customize the look and feel of your form to match your website’s design and branding.