Troubleshooting
Contact Form 7 Not Showing in Elementor: Causes and How to Fix It

Short answer
Contact Form 7 usually fails to appear in Elementor because the shortcode sits in the wrong widget, its quotes became curly when pasted, or the form ID is outdated. Paste a fresh shortcode into the Shortcode widget, update the page, then clear every cache layer.
Key takeaways
- Use Elementor's Shortcode widget for Contact Form 7.
- Curly quotes break shortcode attributes, so retype them.
- Copy a fresh shortcode after migrations or form changes.
- Clear Elementor, plugin, host and CDN caches.
- Optimisation plugins can strip Contact Form 7 files.
- Test forms outside popups before blaming the form.
Why is Contact Form 7 not showing in Elementor?
Contact Form 7 usually fails to show in Elementor because the shortcode is wrong, it sits in a widget that ignores shortcodes, a cache serves an old page, or an optimiser blocks its scripts.
Elementor does not include a built-in Contact Form 7 widget. You add the form by pasting its shortcode into a widget that can process shortcodes.
When it goes wrong, you might see nothing at all, the raw shortcode text in square brackets, a form that shows in the editor but not on the live page, or a form that appears without styling.
This guide covers each case in order. If you are new to the plugin, our guide on how to use Contact Form 7 covers the basics first.
What are the common causes at a glance?
Match what you see on the page to a likely cause, then jump to the matching section below.
| What you see | Likely cause | First fix |
|---|---|---|
| Raw shortcode text on the page | Wrong widget or curly quotes | Use the Shortcode widget, retype quotes |
| Nothing at all | Wrong form ID or deleted form | Copy a fresh shortcode |
| Shows in editor, not live | Page or CDN cache | Clear all caches |
| Unstyled form | CSS removed by optimisation | Exclude Contact Form 7 CSS |
| Form shows but will not submit | Scripts blocked or REST API blocked | Check console and firewall |
| Missing in a popup | Script or display timing issue | Test outside the popup first |
How do you add a Contact Form 7 form in Elementor correctly?
Copy the shortcode from Contact, then Contact Forms in WordPress, add Elementor's Shortcode widget to your page, paste the shortcode, and update the page.
Step by step:
- In WordPress, open Contact, then Contact Forms.
- Copy the shortcode shown next to your form.
- Edit the page with Elementor.
- Search the widget panel for Shortcode and drag it into place.
- Paste the shortcode into the widget's field.
- Click Update, then view the live page.
Elementor's Text Editor widget also runs shortcodes, but the Shortcode widget is the cleanest choice because it does not add extra formatting.
Our guide on how to edit a shortcode in Elementor shows the widget in more detail.
Why does the shortcode show as plain text?
If you see the shortcode itself on the page, it is in a widget that does not process shortcodes, such as a Heading widget, or its quotes were turned into curly quotes when pasted.
Headings, buttons and many third-party widgets output text as-is. Move the shortcode into the Shortcode widget.
Curly quotes are a sneaky cause. When you copy a shortcode from an email, a document or some websites, straight quotes can become typographic quotes. WordPress then cannot read the attributes.
Delete the quote marks in the widget and type them again by hand. Or copy the shortcode directly from the Contact Form 7 list in your dashboard.
The WordPress shortcode documentation explains how shortcode attributes are parsed if you want the technical background.
Is the form ID in the shortcode correct?
If the shortcode points to a form that was deleted, replaced or imported from another site, nothing will display, so copy a fresh shortcode from your current form list.
Recent versions of Contact Form 7 use a longer ID string in the shortcode instead of only a short number. Older shortcodes copied from a staging site or an earlier version may not match.
This often happens after a migration. Forms get new IDs on the new site, but the Elementor pages still hold the old shortcode.
Open the form list, copy the shortcode again, and replace the old one in every widget where it appears.
The official Contact Form 7 documentation explains how forms and shortcodes work.
Why does the form show in the editor but not on the live site?
When the form appears in the Elementor editor but not on the published page, a page cache, CDN or browser cache is usually showing an older version of the page.
Clear every cache layer in this order:
- Elementor's own files, using the regenerate CSS option under Elementor tools.
- Your caching plugin.
- Your host's server cache.
- Cloudflare or another CDN.
- Your browser, or test in a private window.
Our guide on how to clear cache with Elementor covers each step.
Also check you actually clicked Update in Elementor. Saving a draft does not change the live page.
Is an optimisation plugin removing Contact Form 7 scripts or styles?
Plugins that remove unused CSS or JavaScript, delay scripts, or load assets only on selected pages can strip what Contact Form 7 needs, leaving the form hidden, unstyled or broken.
Some asset managers let you choose which plugins load on which pages. If Contact Form 7 is turned off for that page, the form may not work.
Check these settings in your optimisation plugin:
- Unused CSS removal.
- JavaScript delay or defer.
- Combine and minify options.
- Per-page plugin or asset unloading rules.
Exclude Contact Form 7's files from those features, clear caches and test again.
Elementor's own performance settings can also change how assets load, so review them if problems started after changing those options.
Why does the form not work inside an Elementor popup?
Forms in popups usually work, but caching, script delay and popup display rules can stop them showing or submitting, so first test the same shortcode on a normal page.
If the form works on a normal page but not in the popup, the popup is the problem. Check its display conditions and triggers.
Script delay features are a common cause. If Contact Form 7's scripts only load after user interaction, they may load too late for a popup that opens on page load.
Our guide on Elementor popups not working covers popup triggers and conditions.
Why does the form show but not send?
If the form appears but spins or shows an error when submitted, its request to the WordPress REST API is being blocked, or the mail settings are wrong.
Contact Form 7 submits through the REST API. Security plugins or firewalls that block the REST API for visitors will break submissions.
Open your browser's developer tools and check the Console and Network tabs while submitting. The Chrome DevTools Network guide shows where to look.
If submissions succeed but no email arrives, the problem is mail delivery. Our guide on fixing Contact Form 7 not sending covers that.
Is a plugin or theme conflict involved?
If none of the above fixes it, another plugin or your theme may conflict with Contact Form 7 or Elementor, so run a conflict test on a staging site.
Deactivate other plugins, leaving Elementor and Contact Form 7 active. Test the form. Reactivate plugins one by one until it breaks.
The Health Check and Troubleshooting plugin lets you do this only for your own session.
Also make sure both plugins are up to date. Elementor and Contact Form 7 release updates often, and fixes for known conflicts usually arrive quickly.
Should you use an add-on or a different form plugin?
Add-on packs offer dedicated Contact Form 7 widgets with styling controls, and Elementor Pro has its own form widget, but the plain Shortcode widget works fine for most sites.
| Option | Pros | Cons |
|---|---|---|
| Shortcode widget | Free, no extra plugin | Styling needs CSS |
| Add-on CF7 widget | Visual styling controls | Another plugin to maintain |
| Elementor Pro Form widget | Built into Elementor | Requires Pro licence |
| Another form plugin | Native block or widget | Must rebuild forms |
If you are weighing alternatives, our comparison of Contact Form 7 vs WPForms covers the trade-offs.
How do you style the form once it shows?
Once the form appears, style it with custom CSS in Elementor's Advanced tab or the Customizer, targeting Contact Form 7's form classes.
Contact Form 7 adds very little styling of its own. It takes on your theme's form styles, which may look plain inside an Elementor design.
Elementor Pro lets you add custom CSS per widget. Without Pro, use Appearance, then Customize, then Additional CSS.
Keep styles simple and test on mobile. Large padding and fixed widths are common causes of forms that overflow on small screens.
Frequently asked questions
Which Elementor widget should I use for Contact Form 7?
Use the Shortcode widget. Paste the shortcode from the Contact Form 7 list into it and update the page. The Text Editor widget also works, but it can add extra formatting, while headings and buttons do not run shortcodes at all.
Why is my Contact Form 7 shortcode showing as text?
The shortcode is in a widget that does not process shortcodes, or its quotes were changed to curly quotes when pasted. Move it to the Shortcode widget and retype the quote marks by hand, or copy it again from your dashboard.
Does Elementor have a built-in Contact Form 7 widget?
No. Elementor does not ship a dedicated Contact Form 7 widget. You add forms through the Shortcode widget. Some third-party add-on packs offer dedicated widgets with styling controls if you want visual design options.
Why does my form disappear after moving the site?
Forms often get new IDs on the new site, while Elementor pages still hold the old shortcode. Copy the shortcode again from Contact Form 7's form list and replace the old one in every widget that uses it.
Can I use Contact Form 7 in an Elementor popup?
Yes, it usually works. If it does not, test the same shortcode on a normal page first. Then check popup display conditions and turn off script delay for Contact Form 7, since late-loading scripts can break forms in popups.
Sources
- Contact Form 7 documentation Contact Form 7
- Contact Form 7 plugin WordPress.org
- Shortcode API WordPress Developer Resources
- Network features reference Chrome for Developers
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


