On this page
What this issue is
A page builder gives you a library of ready-made widgets (Elementor) or modules (Divi): sliders, tabs, counters, pricing tables, forms and more. Each one needs CSS and often JavaScript. In some setups the builder loads the code for the whole library on every page, not just for the widgets that page uses.
Why it costs you leads or sales
Visitors from ads decide fast. If the hero takes longer to show because the browser is busy downloading and parsing unused CSS and JavaScript, more people leave before they see your offer or form. On mobile networks and mid-range phones the effect is bigger, because parsing code takes longer on slower processors.
- Visitor clicks adLanding page request starts
- Builder assets loadCSS and JS for every widget are requested
- Hero paints lateLCP is pushed back
- Form usable lateSome visitors have already left
The browser must handle assets for widgets the page never uses before it can paint the hero.
Example: a simple landing page's total code weight (CSS + JS) before and after asset loading is trimmed. Your numbers will differ.
How to check if your site has it
Open the page in Chrome
Use a private window so extensions do not add noise. Open DevTools with F12.
Look at the Network tab
Reload with the Network tab open and filter by CSS, then JS. Look for files from /wp-content/plugins/elementor/, elementor-pro, or the Divi theme (/wp-content/themes/Divi/). Note the total transferred size at the bottom.
Check Coverage
Press Ctrl+Shift+P (Cmd+Shift+P on Mac), type Coverage, choose Show Coverage, then reload. Red bars show the share of each file that was not used on this page.
Compare with the widgets you use
If the page has a heading, text and a form but you see CSS for sliders, carousels, tabs and galleries, the builder is loading more than needed.
Run Lighthouse
In DevTools open Lighthouse, run a mobile test and read the audits Reduce unused CSS, Reduce unused JavaScript and Largest Contentful Paint element.
How to fix it
The fix depends on the builder. Both Elementor and Divi have settings that load only what a page needs. Back up your site or use a staging copy first, since changing asset loading can alter layout.
Elementor: enable optimized loading
Go to Elementor > Settings > Features. Set Optimized Assets Loading, Optimized Gutenberg Loading and Improved CSS Loading to Active (names and availability vary by version; some may already be default). Also set Element Caching if offered.
Elementor: remove what you do not use
On Elementor > Settings > Features or Elements (Elementor Pro and some add-ons), disable widgets you never use. Deactivate add-on packs you do not need.
Divi: turn on dynamic assets
Go to Divi > Theme Options > Performance. Enable Dynamic CSS, Dynamic Icons, Dynamic JavaScript Libraries and Critical CSS where available. Clear the Divi static CSS cache afterwards.
Regenerate and clear caches
In Elementor use Tools > Regenerate CSS & Data. Then clear your caching plugin, server cache and any CDN cache.
Test the page
Re-run the Network and Lighthouse checks. Look at sliders, popups and forms to make sure nothing broke.
Dequeue assets on specific pages
If a plugin loads a script or style on pages that do not need it, remove it with wp_dequeue_script or wp_dequeue_style on the right hook. Find the handle in the page source first.
Use a single lean template for funnel pages
For high-spend landing pages, consider a lighter template with fewer widgets, or a hand-coded page, so only needed assets load.
add_action( 'wp_enqueue_scripts', function () {
if ( is_page( 'landing-offer' ) ) {
// Replace the handles with the ones you find in the page source.
wp_dequeue_script( 'example-slider-script' );
wp_dequeue_style( 'example-slider-style' );
}
}, 100 );Before
- CSS and JS for every widget load
- Large share of code unused on the page
- Hero appears after extra downloads and parsing
After
- Only assets for widgets on the page load
- Smaller CSS and JS payload
- Hero paints sooner, form is usable sooner
How to confirm it's fixed
- Network tab shows a smaller total of CSS and JS than before
- Coverage shows fewer red (unused) bytes in builder files
- Lighthouse mobile LCP is lower, or at least not worse
- The form submits and the thank-you page or event still works
- Sliders, tabs, popups and menus on the page still work
- No new errors in the browser console
How to prevent it happening again
- Keep the asset-loading settings on after builder updates; re-check them when you upgrade
- Add widgets to funnel pages only when they earn their weight
- Avoid installing add-on packs that register dozens of widgets you do not use
- Test every new landing page with Lighthouse on mobile before sending ad traffic
- Re-check page weight after plugin, theme or builder updates
- Clear caches after changes so you measure the real result
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It checks page weight on your funnel steps as the robot visitor runs them, so a page that grows heavy after a builder update or a new add-on can show up. It does not work out which widgets or builder assets are unused, and it does not tell you which CSS or JavaScript files to remove.
Questions people ask
Why is my Elementor page so slow?
Common causes are large images, many widgets, and CSS and JavaScript for widgets the page does not use. Enable Optimized Assets Loading under Elementor > Settings > Features, remove unused add-ons, and compress the hero image. Then re-test with Lighthouse on mobile.
Does Elementor load all widgets on every page?
It can, depending on version and settings. Newer versions have features such as Optimized Assets Loading that load widget code only when a page uses it. Check the Network tab to see which Elementor files load on your page.
How do I stop Divi loading all modules on every page?
Go to Divi > Theme Options > Performance and enable Dynamic CSS, Dynamic JavaScript Libraries and Dynamic Icons. Then clear the Divi static CSS cache and your caching plugin. Test the page afterwards to make sure modules still work.
How can I see which CSS and JS my page does not use?
Open Chrome DevTools, press Ctrl+Shift+P (Cmd+Shift+P on Mac), run Show Coverage and reload the page. Red bars show how much of each file was not used. Lighthouse also lists Reduce unused CSS and Reduce unused JavaScript.
Will removing unused page builder assets break my page?
It can if a script is still needed by a widget, popup or form. Make changes on a staging copy where possible. After each change, load the page, test the form and check the browser console for errors.
Does page builder bloat affect Largest Contentful Paint?
Yes. Large CSS and JavaScript files can block rendering and compete for bandwidth and processing time, which delays the hero element that usually sets LCP. Trimming them often helps, though image size and loading also matter.
Can FunnelGuard tell me which Elementor widgets are unused?
No. FunnelGuard checks page weight on your funnel steps, so it can show when a page gets heavier, but it does not identify unused widgets or assets. Use Chrome Coverage and Lighthouse to find those.
Related issues
- PRF-001LCP over 2.5 s on a funnel stepFix guide
- PRF-002LCP over 4 s on mobile (poor) on the paid landing pageFix guide
- PRF-011Render-blocking CSS in <head> (large theme stylesheets)Fix guide
- PRF-012Render-blocking synchronous JS in <head> (jQuery, sliders)Fix guide
- PRF-013Unused CSS over 200 KB (page builder bundles)Fix guide
- PRF-014Unused JavaScript over 500 KBFix guide