Hello Peter,
We hope you are doing well. Please refer to the official documentation of the Contact Form 7 plugin at https://contactform7.com/styling-contact-form/ for instructions on how to resolve your issue.
We wish you the best of luck.
Best Regards,
8Theme’s Team