Back to Community

How to Fix Common OnePress Theme Contact Form Issues

13 threads Sep 16, 2025 ThemeOnepress

Content

Many users of the OnePress theme encounter issues with their contact forms, ranging from layout problems to emails not sending. Based on community support threads, here are the most common problems and their proven solutions.

1. Form Layout and Display Issues

Problem: The contact form does not fill its container properly, appearing too narrow or misaligned.

Solution: This is often a CSS issue. Add the following custom CSS to your site via the WordPress Customizer (Appearance > Customize > Additional CSS):

.wpcf7-form label { width: 100%; }

Problem: You want to center a form, especially if you are only using the form and not the contact information sidebar.

Solution: Use this CSS to hide the empty sidebar and center the form:

.section-contact .col-sm-6:not(.contact-form) { display: none; }
.section-contact .contact-form { margin: 0 auto; }

Problem: You want to swap the positions of the contact form and the contact information box.

Solution: This can be achieved with some flexbox CSS:

@media screen and (min-width:576px) {
    #contact .row{
        display: flex;
        flex-direction: row-reverse;
    }
}

2. Email Delivery Problems

Problem: The form shows a success message but you never receive the email, or you receive emails with all fields blank.

Why it happens: This is almost never a problem with the OnePress theme itself. Email delivery is handled by your WordPress site's PHP mail function or an SMTP plugin, which is dependent on your web hosting configuration. Blank fields can sometimes indicate a conflict with another plugin or a server configuration.

Solution:

  • First, check your spam/junk folder.
  • Install a dedicated SMTP plugin (like WP Mail SMTP) to route emails through a reliable mail server like Gmail or your hosting provider's SMTP.
  • Contact your web hosting provider's support team. They can check server mail logs for errors and advise on the correct mail configuration.
  • Test for plugin conflicts by temporarily disabling other plugins to see if the issue resolves.

3. Adding reCAPTCHA

Problem: You need to add spam protection to your Contact Form 7 form.

Solution: The easiest method is to use the dedicated Contact Form 7 reCAPTCHA extension plugin. After installing it, you will need to add your site and secret keys from Google reCAPTCHA to the Contact Form 7 settings.

4. Hiding the Contact Form 7 Recommendation

Problem: You want to remove the recommendation to install Contact Form 7 from the WordPress admin dashboard.

Solution: This notification is generated by the theme's plugin recommendation system. To remove it, you must create a child theme and override the function that generates the recommendation. This requires custom coding and is recommended for advanced users only.

Most contact form issues can be resolved with a bit of custom CSS or by checking your site's email configuration. If problems persist, the community often finds that reaching out to their web hosting support is the most effective next step.

Related Support Threads Support