Largest Contentful Paint (LCP) is the time it takes for the biggest element in view to appear. Google rates 2.5 seconds or less as good. On WordPress sites, the fixes usually fall into four areas: server response, the LCP element itself, render-blocking resources and fonts. This is the order I work through them.
Identify the LCP element
Run PageSpeed Insights on the page and look for the LCP element in the diagnostics. It is usually a hero image, a background image, a large heading or a product image. Knowing exactly what it is tells you where to focus.
Check mobile and desktop separately, as the LCP element may differ. Chrome DevTools’ Performance panel also highlights the LCP element and shows the breakdown of time: server response, resource load delay, resource load time and render delay.
Improve server response time
If the server takes a long time to respond, everything else waits. Time to First Byte should be well under a second for good LCP. Page caching is the biggest improvement; see WordPress caching explained.
If caching is already in place, look at hosting quality, PHP version, database performance and heavy plugins running on every request. My guide to reducing TTFB covers the server side in detail.
- 1Find LCP elementPageSpeed diagnostics
- 2Server responseCaching, hosting
- 3LCP imageSize, format, priority
- 4Render-blockingCSS and JS
- 5FontsPreload, swap
Optimise the LCP image
If the LCP element is an image, make it as small as possible without losing quality: correct dimensions, good compression and a modern format like WebP or AVIF. Use srcset so phones download a smaller version. See WebP vs AVIF vs JPEG.
Make sure the LCP image is not lazy-loaded. Add fetchpriority high to the image so the browser loads it early. WordPress adds this automatically to the first large image in many cases, but themes and builders sometimes interfere.
Avoid background images for the hero
Hero images set as CSS backgrounds are discovered late, because the browser must download and parse the CSS before it knows the image exists. This often adds significant delay. Use a regular image element for hero images where possible.
If a background image is unavoidable, preload it with a link tag in the page head, including responsive variants if supported. Page builders such as Elementor often use background images for hero sections, so check this carefully.
Reduce render-blocking CSS
Browsers wait for CSS in the head before rendering the page. Large stylesheets from themes, page builders and plugins delay LCP. Remove unused CSS where possible, and load only what each page needs.
Performance plugins can generate critical CSS, which inlines the styles needed for the first screen and loads the rest later. Test carefully, as it can cause brief unstyled content. My guide to eliminating render-blocking resources explains the techniques.
Defer non-critical JavaScript
JavaScript in the head blocks rendering unless it is deferred or async. Most scripts are not needed to show the first screen. Use defer for scripts that must run in order, and delay non-essential scripts, such as chat widgets and analytics, until after load or interaction.
Test after changes, because some scripts, such as sliders in the hero, need to run early. My guide to minifying and deferring CSS and JavaScript covers safe settings.
Fix web fonts
If the LCP element is a heading, web fonts can delay it. Self-host fonts, limit weights, preload the main font file and use font-display swap so text appears immediately with a fallback font. See loading web fonts without slowing your site.
Avoid loading fonts from several sources. Many sites load Google Fonts from the theme, the page builder and a plugin at the same time, multiplying the requests.
Remove sliders and heavy hero sections
Sliders in the hero delay LCP because they load JavaScript and several images before showing the first slide. A single static image with a clear message usually loads faster and converts better.
Videos in the hero are even heavier. If you need a video, use a poster image as the LCP element and load the video afterwards. See embedding videos without slowing your page.
Use a CDN for global visitors
If visitors are far from your server, network latency adds to LCP. A CDN serves files from nearby locations and can cache full pages at the edge. This is particularly useful for international audiences.
My guide to whether you need a CDN explains when it helps. Cloudflare’s free plan is a common starting point.
LCP on WooCommerce and blog templates
Different templates have different LCP elements. On WooCommerce product pages it is usually the main product image, on category pages the first product thumbnails and on blog posts the featured image or the title. Check each template separately, because a fix on the homepage does not automatically help the others.
For product pages, make sure the gallery does not delay the first image with JavaScript and that the main image uses an appropriate size rather than the full original. For blog posts, avoid huge featured images and keep the title visible without waiting for web fonts. Test the templates that bring the most search traffic first.
Measure and confirm
After each change, test again in PageSpeed Insights and compare the LCP breakdown. Lab results show immediately; field data in Search Console takes up to 28 days to update. Focus on pages with the most traffic first.
If you would like help improving LCP on your WordPress site, it is a core part of my speed optimization service. For the full overview, see Core Web Vitals explained.
Key takeaways
- Identify the LCP element before making changes.
- Page caching and good hosting fix slow server response.
- Never lazy-load the LCP image; give it high fetch priority.
- Replace hero sliders and background images with a single image element.
Frequently asked questions
Why is my mobile LCP worse than desktop?
Mobile tests simulate a slower device and network, so heavy pages suffer more.
What is a good LCP score?
2.5 seconds or less at the 75th percentile of real visits.
Does a CDN improve LCP?
It helps visitors far from your server by reducing latency, especially with edge page caching.
Should I preload my hero image?
If it is a background image or discovered late, yes. Regular images with high fetch priority often do not need preloading.
Can plugins fix LCP automatically?
Performance plugins help with caching, CSS and JavaScript, but image choices and hosting still matter.
