Hello friends, welcome to my another blog post how to add class and id in form tag Contact Form 7. By default contact form 7 put wpcf7-form class with in form tag and there is no id inside form tag. So if you want to add your own class or own id then what to do. Below I give you the solution for this issue. Using my tips you can give any class or id inside form tag of contact form 7
Just add html_id=”contact-form-1234″ html_class=”form contact-form” inside your contact form 7 short code. Your shortcode will look like the below:
Now you know how to add class and id in form tag Contact Form 7. If you face any issue please comment below. Please share my post.