On this page
What this issue is
A hero slider is a rotating banner at the top of a page. Many sliders hide every slide until their JavaScript has loaded and started. The first slide image may also be lazy loaded, set as a CSS background, or served at a huge size. The result: the top of your page is empty or shows a spinner for seconds.
Why it costs you leads or sales
Visitors judge a page in the first moments. If your headline, offer and button sit inside a slide that has not appeared, they see nothing to act on. Some leave. Others scroll past without seeing your main call to action.
- Ad clickVisitor lands on the page
- Slider script loadsFirst slide hidden until it runs
- Hero offer seenHeadline and button appear late
- CTA clickVisitor has already left
The visitor arrives, but the hero waits on slider JavaScript.
Example: illustrative numbers showing how a later hero can mean fewer visitors still present when the offer appears.
How to check if your site has it
Run PageSpeed Insights
Test your landing page at pagespeed.web.dev on the mobile tab. Look at the LCP value and the element it names. If it is a slider image, you have this issue.
Throttle in Chrome
Open DevTools, go to the Network tab, choose Fast 4G or Slow 4G, and reload. Watch how long the hero stays blank.
Check the Performance panel
Record a page load in the Performance tab. The LCP marker shows which element it is and when it appeared.
Inspect the first slide
In Elements, look for loading="lazy" on the first image, a CSS background-image, or an opacity: 0 or display: none style on the slider until it initialises.
How to fix it
There are two routes. The simplest is to drop the slider and use one static hero image with a clear button. If you keep the slider, make the first slide independent of the script.
Before
- First slide hidden until slider JavaScript runs
- First image lazy loaded or a CSS background
- Full-size image sent to phones
- Heading and button wait for the script
After
- First slide visible in plain HTML
- First image preloaded, not lazy loaded
- Responsive, compressed image sizes
- Slider script loads after the hero shows
<link rel="preload" as="image" href="/images/hero-1-1200.webp" imagesrcset="/images/hero-1-600.webp 600w, /images/hero-1-1200.webp 1200w" imagesizes="100vw">
<img src="/images/hero-1-1200.webp" srcset="/images/hero-1-600.webp 600w, /images/hero-1-1200.webp 1200w" sizes="100vw" width="1200" height="600" fetchpriority="high" alt="Your offer in a few words">.slider .slide { display: none; }
.slider .slide:first-child { display: block; }Check your slider plugin settings
Many slider plugins (for example Slider Revolution, Smart Slider, MetaSlider) have options for lazy loading, delayed loading or a first-slide preload. Turn off lazy load for the first slide and turn off any option that delays the slider script.
Exclude the hero from optimisation plugins
In your caching or speed plugin, exclude the first slide image from lazy loading and the slider script from delay or defer rules if the hero fails to show.
Consider a static hero
Replace the slider with an Image or Cover block holding one image, a headline and a button.
Open the theme editor
Go to Online Store > Themes > Customize and select the slideshow section on the home page.
Reduce to one slide
Delete extra slides or switch to an Image banner section. This removes the slider script from the first paint. Menu names vary by theme.
Compress the image
Upload a correctly sized image. Shopify serves resized versions, but a huge original still slows delivery.
Replace the Slider element
Swap the Slider element for a Section with a background or an Image element. Set the image to Eager loading in its settings.
Use optimised images
Upload WebP or compressed files at the width you need, not the full original.
Use a strip or image instead of a slideshow
In the editor, replace the slideshow with a Strip containing one image, a heading and a button.
Keep images small
Use compressed images sized for the display area.
Use a single-image section
Replace a slideshow banner with a section that has one background image. Squarespace handles the loading, so one image is the fastest option.
Compress before uploading
Keep file sizes small to speed the first paint.
Render slide one in HTML
Put the first slide in the markup, visible by default, with fetchpriority="high" and no loading="lazy".
Load the slider script late
Add defer to the script tag so it does not block rendering, and use the CSS above so slide one shows before it runs.
How to confirm it's fixed
- PageSpeed Insights mobile LCP is 2.5 seconds or less
- The LCP element is the first slide or static hero, and it is not lazy loaded
- On throttled Fast 4G, the hero shows without a blank gap
- The headline and button are visible without waiting for the slider script
- Test on a real phone and in a private window with the cache empty
How to prevent it happening again
Slider problems often return after a plugin update, a new speed plugin setting or a redesign with larger images. Re-test the home page and key landing pages after any of these changes. Set a rule that the hero image must be compressed and sized before upload, and avoid sliders on landing pages that receive paid traffic.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It checks LCP (Largest Contentful Paint) when its robot visitor loads your pages on a schedule, so a slow hero shows up as a slow LCP number. It does not tell you that a slider is the cause, whether the first slide is lazy loaded, or whether the first slide hides your call to action.
Waits for script
Leads or data lost
The hero stays blank for seconds, LCP is late and some visitors leave before seeing the offer.
Whether the first slide depends on JavaScript is often the biggest factor in a slow hero.
Questions people ask
Why is my hero slider so slow to show the first slide?
Most sliders hide all slides until their JavaScript loads and starts. If the first image is also lazy loaded, a CSS background, or very large, it appears even later. Render the first slide in plain HTML and preload its image.
Do sliders hurt LCP?
Yes, often. The first slide image is usually the largest element on screen, so it becomes the LCP element. If it waits for script or lazy loading, LCP rises. Google treats 2.5 seconds or less as good.
Should I lazy load the first slide of a slider?
No. Lazy loading tells the browser to delay an image, which is the opposite of what you want for the main visible image. Remove loading="lazy" from it and add fetchpriority="high".
How do I fix a slow slider in WordPress?
Open your slider plugin's settings and turn off lazy load and delayed loading for the first slide. Also exclude the hero image and slider script from any caching or speed plugin delay rules. Or replace the slider with a single image block.
Is a static hero image better than a slider?
For most lead and sales pages, yes. A single image with a clear headline and button loads faster and keeps the offer in view. Visitors often never see later slides anyway.
How can I tell if the slider is my LCP element?
Run PageSpeed Insights on mobile and read the Largest Contentful Paint element in the diagnostics. Or record a page load in Chrome DevTools Performance and click the LCP marker. It will name the element.
Can FunnelGuard tell me my slider is slow?
Only partly. FunnelGuard checks LCP, so a slow hero shows as a slow LCP number. It does not identify the slider as the cause or check how the first slide loads, so inspect that by hand.