On this page
What this issue is
A preloader is a spinner, logo animation or splash screen that sits on top of your page while it loads. It is usually removed by JavaScript on the window.load event. That event fires only after every image, font, script and iframe has finished loading, including slow third-party ones.
Largest Contentful Paint (LCP) measures when the biggest visible element, often the hero image or headline, is painted. Browsers can paint your content early, but if an overlay covers it, the visitor still sees nothing useful. Chrome may count the overlay itself as the LCP element, or the real element once it is visible. Either way the experience is slow.
Why it costs you leads or sales
Visitors from ads and search have little patience. They clicked for an offer, and they get an animation instead. Every extra second before the headline and form appear is a chance for them to go back.
The delay is often worse than it looks. The preloader waits for the slowest resource, such as a chat widget or ad pixel. If one of those is slow or fails, the overlay can stay on screen far longer than planned, or never leave.
- Ad clickVisitor lands on the page
- HTML and hero loadContent is ready to paint
- Preloader overlayWaits for window.load
- Headline and form visibleSeen late or never
- Lead submittedVisitor left first
The page content is ready early, but the overlay hides it until every resource finishes loading.
Example: illustrative numbers for one landing page, not measured data.
How to check if your site has it
Load the page on a throttled connection
Open the page in Chrome, press F12, go to the Network tab and set throttling to Fast 4G or Slow 4G. Reload and watch whether a spinner or logo covers the page.
Record a performance trace
In DevTools, open the Performance tab and click Reload and record. Look at the Timings lane for LCP and the screenshots strip to see when the content actually appears.
Inspect the overlay
Right-click the spinner and choose Inspect. Look for an element with a name like preloader, loader, loading or splash, with position fixed and a high z-index.
Test with JavaScript blocked on one script
In the Network tab, right-click a third-party request (a chat widget, for example) and choose Block request URL. Reload. If the overlay stays, it depends on that script and can hang in real life.
Run PageSpeed Insights
Test the URL at pagespeed.web.dev on mobile. Check the LCP element and the filmstrip. A large gap between first paint and the content appearing points to an overlay.
How to fix it
The best fix is to remove the preloader. A page that loads fast needs none. If your brand needs one, make it short and make it leave on a timer, not on window.load.
Find where it comes from
It is usually a theme option (look under Appearance > Customize or the theme's options panel for Preloader or Page Loader) or a plugin. Check Plugins for anything named preloader or loader.
Turn it off
Switch the preloader setting to Off, or deactivate the plugin. Clear your caching plugin and CDN cache afterwards.
If you need it
Set a short fixed duration in the theme option if one exists, or use the custom code in the Custom code tab.
Check the theme settings
Go to Online Store > Themes > Customize and open Theme settings. Some themes include a loading animation option. Turn it off.
Check theme code
If there is no setting, open Edit code and search theme.liquid for loader, preloader or splash. Remove the overlay markup and its script, or ask the theme developer. Keep a copy of the theme first.
Check installed apps
Some apps add a loading screen. Review Apps and remove any you do not use.
Look for injected loaders
In Tags, search for Custom HTML tags that add a loader or splash overlay. Check the trigger: if it fires on All Pages, it affects every visit.
Pause or delete the tag
Pause the tag, use Preview mode to check the page, then Submit and publish the container.
Find the loader element
Open the Navigator and look for a full-screen div named Loader, Preloader or Intro at the top of the page or in a symbol.
Remove its page-load interaction
Under Interactions, delete any 'Page load' or 'While page is loading' animation that fades it out, then delete the element. Publish.
Or shorten it
Keep the element but set the page-load animation to a short duration with no dependence on loaded assets.
Check the page's custom code
In the funnel or website builder, open Settings for the page and look in Custom Code (head and body) for loader scripts.
Remove loader sections
Delete any full-screen section or element used as an intro overlay, along with its animation, then save and publish.
Check the page for an intro element
In the editor, look for a full-width strip or box layered on top of the page with a load animation. Wix has no standard preloader, so this is added by hand.
Delete it or remove the animation
Select the element, delete it, or remove its entrance animation, and publish.
Check the loading animation setting
Under Website > Pages > Site Styles, look for a Loading option (available in some version 7.1 templates and in 7.0 templates with a loading screen) and set it to None.
Check code injection
Under Settings > Advanced > Code Injection, remove any loader script or CSS you added.
Remove the overlay
Delete the loader markup and the script that waits for window.load.
Or use a timer with a failsafe
If you must keep it, hide it after a short fixed time and never wait for third-party resources. See the snippet below.
// Assumes your overlay is <div id="preloader">
(function () {
var el = document.getElementById('preloader');
if (!el) return;
function hide() { el.style.display = 'none'; }
// Hide when the DOM is ready, but never later than 800 ms
document.addEventListener('DOMContentLoaded', function () {
setTimeout(hide, 300);
});
setTimeout(hide, 800);
})();Before
- Overlay waits for window.load
- Slow third-party scripts keep it on screen
- Headline and form hidden for seconds
- LCP pushed back
After
- No overlay, or a fixed 0.3 to 0.8 s one
- Content visible as soon as it is painted
- Page works if a script fails
- LCP reflects the real hero element
How to confirm it's fixed
- Reload the page with Slow 4G throttling: no overlay covers the content.
- The headline, hero and form or button are visible as soon as they load.
- Block a third-party script in DevTools and reload: the page still shows normally.
- The Performance trace shows LCP at the real hero element, not the overlay.
- PageSpeed Insights mobile LCP is lower than before.
- Test on a real phone with the cache cleared.
How to prevent it happening again
- Agree a rule with designers: no full-screen intro on landing pages or checkout.
- Never tie an overlay to window.load or to third-party scripts.
- Always add a failsafe timer so the overlay cannot stay on screen.
- Re-test LCP after theme updates, new plugins or new animations.
- Check the page in a throttled mobile trace before each campaign launch.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It checks LCP only: a robot visitor loads your funnel steps on a schedule, and if the LCP is slow, which a preloader can cause, you can see it. It does not identify the preloader itself, tell you that an overlay is the cause, or measure how long the overlay stays on screen.
To cover the rest by hand, use the checks above: look at the filmstrip in a throttled DevTools trace, inspect for a fixed full-screen loader element, and block a third-party script to see whether the overlay hangs. When FunnelGuard flags a slow LCP on a step, run those checks first. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.
Questions people ask
Does a preloader hurt SEO and Core Web Vitals?
It can. A preloader that covers the page delays when visitors see your content, and it can push back LCP, which is one of the Core Web Vitals. Removing it or keeping it very short avoids this.
Why is my website showing a loading animation for so long?
Most preloaders wait for the window load event, which fires only after every image, font and script has finished. A slow third-party script, such as a chat widget or tracking pixel, can keep the animation on screen. Switch to a fixed short timer or remove it.
How do I remove a preloader in WordPress?
Check your theme options under Appearance > Customize for a Preloader or Page Loader setting and turn it off. If it comes from a plugin, deactivate that plugin. Then clear your cache and test the page again.
Should I use a splash screen on a landing page?
Usually no. Visitors from ads want to see the offer and the form straight away, and a splash screen adds a delay with no benefit to them. If you keep one, make it under a second and never dependent on full page load.
How can I tell if a preloader is causing my slow LCP?
Record a Performance trace in Chrome DevTools with throttling on and look at the screenshot strip. If the page content is downloaded but a spinner or blank screen is still shown, the overlay is the cause. You can also inspect the element and look for a fixed, full-screen loader.
Is it safe to hide the page with CSS until JavaScript loads?
No. If the script fails, is blocked or is slow, visitors see a blank page and cannot use your form or button. Always add a timer-based failsafe so the content appears anyway.
Can FunnelGuard detect a preloader on my site?
Only partly. FunnelGuard checks LCP on your funnel steps, so a slow result can point to a problem, but it does not identify the preloader or measure how long it shows. You confirm the cause with the manual checks in this guide.
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-019Above-the-fold content hidden by A/B testing anti-flicker snippetFix guide
- PRF-020Anti-flicker snippet timeout leaves page white for 4 s when tool is slowFix guide
- PRF-016Client-side rendered page shows blank until JS bundle runsFix guide
- PRF-012Render-blocking synchronous JS in <head> (jQuery, sliders)Fix guide