Elementor is one of the most popular visual page builders for WordPress. It gives designers a lot of freedom without code, but that freedom can come with technical SEO costs: deeply nested HTML (often called "div soup"), extra JavaScript and CSS, layout shifts from late-loading fonts, and heading structures that nobody checked. None of these stop a page from ranking on their own, but together they hurt Core Web Vitals and make pages harder to maintain. This guide covers the fixes that matter most and how to confirm each one worked.
First, Measure Before You Change Anything
Record a baseline so you can tell whether a change helped:
- Run your homepage and one template page (a blog post or service page) through our page speed checker on mobile. Note the Performance score, LCP, CLS and the "Avoid an excessive DOM size" diagnostic.
- In Google Search Console, open the Core Web Vitals report. This shows field data from real Chrome users, which is what Google uses, while a single Lighthouse run is lab data. The Web Vitals documentation explains the thresholds for each metric.
- Confirm which theme and plugins the site runs with our CMS and theme detector, so you know whether a theme-level or Elementor-level setting is responsible for each asset.
Reducing DOM Size with Flexbox Containers
Lighthouse warns when a page has more than about 800 DOM elements and flags it as an error above about 1,400. Older Elementor layouts built from Sections, Columns and Inner Sections add several wrapper <div> elements around every widget, so even a modest homepage can pass those limits.
Current Elementor versions use Flexbox (and Grid) Containers, which need far fewer wrappers. New sites use them by default. On older sites, enable Containers and rebuild your heaviest templates first, typically the header, footer and homepage, since those load on every page. Elementor includes a converter for old sections, but review the result: converted layouts sometimes keep unnecessary nested containers that you can flatten by hand.
Elementor has moved these options between versions. Depending on your version, look under Elementor > Settings > Features (older versions call it Experiments), Settings > Performance or Settings > Advanced. Many of the options below are already active by default on recent installs, so check before toggling anything, and test on a staging copy first.
Enabling Elementor's Performance Features
- Optimized DOM Output: removes redundant wrapper elements from widgets (on by default in recent versions).
- Improved Asset Loading: loads only the JavaScript and CSS needed for the widgets actually used on each page instead of one large bundle.
- Improved CSS Loading: loads widget stylesheets more efficiently to reduce render-blocking CSS.
- Inline Font Icons: renders icons as inline SVG instead of loading a full icon font such as Font Awesome.
- CSS Print Method set to External File: lets the browser cache Elementor's generated CSS between pages instead of printing it inline on every page.
After each change, clear any caching plugin and CDN cache, then re-run the page speed test.
Controlling Font Loading and Layout Shift (CLS)
Layout shift on Elementor sites often comes from web fonts that load after the first paint and change text size, or from images and embeds without reserved space.
- Set Google Fonts loading to
swap, or better, host fonts locally. Recent Elementor versions have a "Load Google Fonts Locally" option; otherwise a plugin such as OMGF can do it. - Limit yourself to one or two font families and only the weights you use. Every extra weight is another file.
- Make sure images carry width and height attributes so the browser can reserve space before they load. Elementor's Image widget does this for media-library images; check custom HTML widgets and background images separately.
- Give sliders, video embeds and cookie banners a fixed height or reserve space for them, since they are common sources of shift.
Speeding Up the Largest Contentful Paint
On most Elementor pages the Largest Contentful Paint (LCP) element is a hero image or a hero background. Two settings make the biggest difference:
- Do not lazy-load the hero image. Lazy loading helps images further down the page but delays the one image that defines LCP. Exclude it in your lazy-load or performance plugin.
- Prefer an Image widget over a CSS background for the hero. Browsers discover CSS background images late. If you must use a background, preload it.
Serve images in WebP or AVIF at the size they are displayed. Uploading a 4000-pixel photo for a 1200-pixel slot is still one of the most common causes of slow pages.
Getting Headings and Content Structure Right
Elementor's Heading widget lets you choose the HTML tag separately from the visual size, and its default is often H2. That makes it easy to end up with no H1, several H1s, or headings chosen for looks rather than structure.
- Each page should have one H1 that states the page topic. Check whether your theme already prints the page title as an H1 before adding another in Elementor.
- Use H2s for the main sections and H3s inside them, in order.
- Use a normal text widget, not a heading tag, for decorative text such as "Welcome" labels or numbers on statistics.
Elementor does not manage titles, meta descriptions or sitemaps. Those come from an SEO plugin such as Yoast SEO or Rank Math, which work alongside Elementor.
Watch Out for Content Hidden by Device
Elementor's responsive "Hide on desktop/tablet/mobile" settings hide elements with CSS; the HTML is still sent to every device. Building a separate desktop section and mobile section with the same text therefore doubles the DOM and creates duplicate headings and links in the source. Where possible, build one responsive section and adjust its layout per device instead.
Auditing Links, Popups and Templates
Links inside popups, mobile menus, tabs and global templates are easy to forget when pages are renamed. Run the site through our broken link checker after any restructure, and check global header and footer templates first, since a broken link there appears on every page.
For a full site review, work through our WordPress SEO audit checklist, and for background on the metrics themselves read what Core Web Vitals are and how to fix them.