Change the default text to contact form

QuestionsCategory: DiviChange the default text to contact form
Anne asked 5 years ago

I would like to know how I can change the default text which appears above the fields when a required field is not filled in.
 
 

Abhishek replied 5 years ago

Hello,

There is not an inbuilt option for changing the “default error message” in Divi theme for contact form but you can achieve this by making certain changes in framework.php file. Follow the steps:

Please open \wp-content\themes\divi\includes\builder\framework.php file.

Search the following code below in the framework.php file and make the changes accordingly.

‘fill_message’ => esc_html__( ‘Please, fill in the following fields:’, ‘et_builder’ ),

1 Answers
Hugoboss972 answered 4 weeks ago

Hi,
Just add this CCS in theme customized
/* Style the Divi Form Error Message */
.et-pb-contact-message p {
color: #ffffff;
}
.et-pb-contact-message ul {
color: #ffffff;
}

Your Answer

12 + 19 =

Subscribe To Our Newsletter For More Tips & Tricks on Elegant Themes

Subscribe To Our Newsletter For More Tips & Tricks on Elegant Themes

You have Successfully Subscribed!

Share This