Why does my hero section paint so late on mobile?

Short answer

LCP — Largest Contentful Paint — times how long the biggest visible element (usually the hero image or headline) takes to render. Good is 2.5 seconds or under. On most slow pages the image itself isn't huge — it's discovered late, because it's loaded lazily, buried in CSS, or waiting behind render-blocking resources.

Why it matters

LCP is, roughly, 'when does this page look loaded?' — the moment a visitor decides whether to stay. Every extra second there is paid for in bounces, and it's measured on real visits, so the slow tail of real devices and real networks counts.

The good news: LCP failures are usually boring. Not 'rebuild the site' boring — 'the browser found the hero image last' boring. Find which phase is slow and it's often a one-line fix.

A real example

The hero image the browser found last

A local news site's homepage hero was a CSS background image, lazy-loaded by a well-meaning performance plugin. The browser couldn't even start downloading it until the CSS parsed and the layout settled — on a mid-range Android phone, the headline photo arrived at 4.8 seconds. LCP failed on three-quarters of mobile visits.

Moving the same image into the HTML as a normal <img> with fetchpriority="high" — and exempting it from lazy-loading — brought LCP under 2.5 seconds. Same photo, same server. It was never a weight problem; it was a discovery problem.

The four phases to check

Time to first byte (slow server or no caching), resource load delay (the browser finds the image late), resource load duration (the file is genuinely big), and render delay (main-thread work blocking the paint). DevTools' LCP breakdown in the Performance panel shows which phase is eating your budget — fix that one, not all four.

The highest-leverage fixes

Put the hero image directly in the HTML with fetchpriority="high", never lazy-load the LCP element, serve a right-sized modern-format image, and preload only when the image is responsive or CSS-loaded and truly can't be discovered early.

How to check it

  • LCP element identified in DevTools — you can't fix what you haven't named
  • Hero image has fetchpriority="high" and no loading="lazy"
  • Image served at display size in WebP/AVIF, not a 4000px original
  • TTFB under ~800ms — fix hosting/caching before touching the front end
Common mistake

Lazy-loading everything 'for performance', including the hero. Lazy-loading below-the-fold images is smart; lazy-loading the largest element on the page delays the exact metric you're trying to improve.

← Back to all guides