How To Change Contact Form 7 Text Color

Web Development Software

Customizing the font color in Contact Form 7 is an excellent way to personalize the appearance of your forms. Whether you wish to coordinate with your brand’s color palette or introduce a visual element, this easy adjustment can have a significant effect. This guide will walk you through the steps of altering the text color in Contact Form 7.

Step 1: Open the Contact Form 7 Plugin

The first step is to open the Contact Form 7 plugin on your WordPress dashboard. If you haven’t installed it already, you can do so by navigating to the “Plugins” section and searching for “Contact Form 7”. Once you have the plugin installed and activated, you should see a new option in your dashboard menu called “Contact”. Click on it to proceed.

Step 2: Select the Form to Edit

In the Contact Form 7 settings, you will see a list of forms that you have created. Select the form that you want to change the text color for by clicking on its name. This will open the form editor.

Step 3: Edit the Form Style

Within the form editor, you will see a tab called “Form”. Click on it to access the form’s style settings. Here, you will find a box labeled “Form HTML Markup”. This is where you can add HTML and CSS code to style your form.

Step 3.1: Add a Class to the Form

To change the text color, we need to add a class to the form. This class will be used to target the specific elements that we want to style. In the “Form HTML Markup” box, find the line that starts with <form and add the class attribute. For example, if you want to add the class “custom-text-color” to your form, the line should look like this:

<form class="custom-text-color"

Step 3.2: Add Custom CSS

Next, we need to add some custom CSS code to change the text color. Below the line where you added the class attribute, add the following code:

.custom-text-color {
color: #ff0000; /* Replace #ff0000 with the color code of your choice */

In the code above, replace “#ff0000” with the color code of your choice. You can use common color names like “red” or hexadecimal color codes like “#ff0000”. Feel free to experiment and find the color that suits your needs.

Step 4: Save and Test

Once you have added the class and custom CSS code, click on the “Save” button to save your changes. Now, you can test your form to see the new text color in action. Visit the page where the form is displayed and check if the text color has been successfully changed.


Changing the text color in Contact Form 7 is a simple but effective way to customize your forms. By following the steps outlined in this article, you can easily modify the text color to match your branding or add a touch of personalization. Remember to save your changes and test the form to ensure that the new text color is applied. Now go ahead and take your Contact Form 7 forms to the next level!