Skip to content
All posts

Webflow Core Web Vitals: 6 Fixes for LCP, INP and CLS

By Vladyslav LypystiiSenior Webflow & Frontend Developer

Published
Length
8 min read
Cover: six fixes that moved LCP, INP and CLS

When a Webflow site fails Core Web Vitals, the cause is almost always something added on top of the platform.

Webflow serves clean static HTML from a CDN. That is a good starting point. Then comes the hero video, the page-load animation, the tag manager, the chat widget, the HubSpot form, the filtering script and a mobile copy of every section. Each decision looked harmless on its own. Together they are why the page is slow.

These are the six fixes I make first on SaaS, AI and fintech sites built in Webflow, roughly in the order they tend to make a real difference.

What Core Web Vitals actually measure

There are three metrics. Google counts a page as good when the 75th percentile of real visits lands inside these thresholds:

  • Largest Contentful Paint (LCP): 2.5 seconds or less. How fast the main content of the first screen appears.
  • Interaction to Next Paint (INP): 200 milliseconds or less. How fast the page visibly responds to clicks, taps and key presses. INP replaced First Input Delay in March 2024.
  • Cumulative Layout Shift (CLS): 0.1 or less. How much content jumps around while loading.

The important word is "real". A Lighthouse score is a lab test on one simulated machine. The Core Web Vitals report in Search Console and the field data box at the top of PageSpeed Insights come from visits by actual Chrome users. If you have enough traffic for field data, look at it first. The lab score is for finding the cause once you know there is a problem.

How to find what's slow

Run your homepage and one key template, like a blog post or a landing page, through PageSpeed Insights on mobile. Write down two things from the diagnostics: which element is the LCP element, and which scripts take the most main-thread time.

For INP, open the Performance panel in Chrome DevTools, turn on CPU throttling, record yourself clicking the menu, tabs and forms, and look for long tasks after each click.

Fix 1: Make the hero image load first

If your LCP element is an image, four details usually decide the result.

First, use an Image element for the hero. Webflow generates responsive versions for Image elements, so a phone gets a phone-sized file. A background image is discovered later, because the browser has to parse the CSS first, and it doesn't get responsive sizes by default.

Second, in the image settings, switch loading from lazy to eager for the hero image. Lazy loading is right for everything below the fold. For the LCP element it means the browser waits on purpose.

Third, upload the file at the size it is displayed. A 4000-pixel product screenshot in a 600-pixel column is the most common LCP mistake I see on SaaS homepages. Export it at a sensible size, in a modern format like WebP or AVIF.

Fourth, tell the browser this image matters most. Webflow doesn't add fetchpriority to images, so add it yourself: select the hero image, open Element settings and, under Custom attributes, add fetchpriority with the value high. Without it, Chrome starts images at low or medium priority and only raises the visible ones once layout is done. Put it on one image per page, the LCP one. If every image is high priority, none of them is. To check, open the Network panel in DevTools, turn on the Priority column and look for High next to the hero image.

If the hero has to stay a background image, the browser only finds it after it has downloaded and parsed the CSS. Preload it in that page's head code instead: <link rel="preload" as="image" href="URL-of-the-image" fetchpriority="high">.

While you're in the image settings, keep a width and height set, or give the wrapper an aspect ratio. The browser then reserves the space before the file arrives, and the content below doesn't jump when it lands. That jump is CLS, the third metric.

Fix 2: Don't hide the LCP element behind a page-load animation

This is where a lot of good-looking Webflow sites lose.

A typical page-load interaction sets the H1, subheadline and button to opacity 0, then fades them in. Webflow writes that starting state into the HTML as an inline style, so the headline arrives hidden. Chrome doesn't count elements at opacity 0 as LCP candidates, so LCP is pushed back to the moment the animation reveals them.

And the animation can't start until webflow.js loads at the end of the page. On a fast laptop you won't notice. On a mid-range phone with a slow connection it can easily become the biggest part of your LCP.

The fix:

  • Keep the H1 and the main hero copy visible from the first frame.
  • If you want motion, animate the transform only, with a short slide.
  • Save the fades for supporting elements: badges, logo strips, decorative graphics.

The same rule applies to GSAP animations. Whatever runs your hero animation, its first frame shouldn't hide the main content.

Fix 3: Put third-party scripts on a diet

Third-party scripts are the main cause of poor INP on marketing sites. Each one competes for the main thread, and when a visitor clicks while a long task is running, the click waits.

Go through the custom code in your site settings and in each page's settings, and ask three questions about every script.

Does it need to be on every page? An embedded HubSpot form belongs on the demo page and maybe the contact page. It doesn't belong in the site-wide head.

Does it need to load right away? Chat widgets, heatmaps and session recording tools rarely need to run before the visitor has been on the page for a few seconds or interacted with it. Loading them after the first scroll or after the load event takes them off the critical path.

Does it need to exist at all? Tag managers collect tags from people who left the company long ago. A quarterly tag audit with marketing is one of the cheapest performance wins there is.

Fix 4: Remove hidden duplicates

Webflow makes it easy to hide an element on one breakpoint and show another on the next. So many sites ship both the desktop and the mobile version of a section to every visitor.

Display none can leave the download running. Autoplay videos and eager images inside hidden blocks can still download, and every hidden node still adds to the DOM. A large DOM makes every style recalculation and layout more expensive, and that shows up in INP when a menu opens or a tab switches.

Where you can, build one responsive block instead of two. Where you can't, keep the hidden copy light: no video, lazy images, no heavy embeds. For a hero video, use a single video element and pick the source by screen width, and set preload="none" on videos below the fold.

Building something similar?

I design and build high-converting websites for SaaS, AI, and Fintech teams.

Fix 5: Make interactions cheap

INP measures what happens after a click. The most common causes I find on Webflow sites are animations of layout properties and scripts that do too much on a single event.

Animate transform and opacity

Animating width, height, top, left, margin or padding forces the browser to recalculate layout on every frame. Transform and opacity can usually be handed to the compositor. If your mega menu slides open by animating its height, rebuild it with a transform.

Watch scroll work

Scroll-linked effects are fine in small numbers. When twenty elements on a page read their position and write styles on every scroll event, the main thread stays busy and clicks queue up behind that work.

Check client-side filtering

Scripts that filter or sort long Collection Lists in the browser are convenient, but with hundreds of items a filter click can trigger a large re-render. If the list is long, consider pagination or separate category pages.

Fix 6: Load fonts without the jump

Fonts are the CLS cause almost nobody checks. The page first renders in a fallback font. When the web font arrives, it swaps in with different letter widths and line heights, a headline rewraps from two lines to three, and everything below moves. If your H1 is the LCP element, a slow font delays LCP as well.

Host the fonts yourself

Google Fonts picked in Webflow's site settings load through a JavaScript font loader in the head, from Google's servers. Webflow's font display setting only exists for uploaded custom fonts. Download the WOFF2 files, upload them in the Fonts tab of site settings, and you control how they load.

Choose font display on purpose

Swap shows text right away in the fallback and switches when the font is ready. Good for LCP, and it can cost CLS. Optional gives the font a very short window, and if the font misses it, the fallback stays for that page view and nothing moves. For body text, optional is often the better trade.

Preload only what the first screen needs

Usually that's the headline weight and the regular body weight. Add a tag like this to the site head: <link rel="preload" href="URL-of-the-woff2-file" as="font" type="font/woff2" crossorigin>. Copy the file URL from the Network panel on the published site. The crossorigin attribute is required even though the file sits on your own CDN: without it, the browser downloads the font twice. Don't preload every weight. Each preload competes with the hero image for bandwidth.

Cut the weights

Each weight and each italic is a separate file. A site that uses 400, 500, 600 and 700, plus italics, ships eight font files to render one page. Most designs survive with two or three.

Match the fallback to the font

The swap still shifts things if the fallback is much wider or narrower than your font. CSS can fix that. An @font-face rule for a local font like Arial, with size-adjust, ascent-override and descent-override, makes the fallback take up the same space as your web font. The values depend on the exact font pair, so get them from a fallback font calculator instead of guessing, then add the rule and the font stack in a few lines of custom CSS.

The order I work in

  1. Check field data in Search Console or PageSpeed Insights and pick the worst template.
  2. Identify the LCP element and fix how it loads: Image element, eager, fetchpriority high, right size, width and height set.
  3. Remove opacity 0 from the main hero content in page-load interactions.
  4. Audit custom code and the tag manager, and move or delay anything the first screen doesn't need.
  5. Delete or slim down hidden duplicates, especially videos.
  6. Host fonts yourself, cut the weights, preload the first-screen files with crossorigin and set font display.
  7. Record clicks on the menu, tabs and filters in DevTools, and rewrite layout animations as transforms.
  8. Wait for field data to update before judging the result. The reports use a rolling window, so improvements don't show up overnight.

Where Webflow helps and where it doesn't

Hosting, the CDN and clean HTML are Webflow's strong side. The platform doesn't stop you from building a fast site. It also won't stop you from building a slow one: every fix above comes down to a decision made during the build.

That is why performance is worth discussing at the start of a project, while it's still cheap to change. Deciding whether the hero is a video or an image, how many scripts marketing needs and how the menu should open on mobile costs far less when it happens in the design file.

Need help? If your Webflow site fails Core Web Vitals and you're not sure where to start, I'm happy to take a look.

What clients say

“Shout out to Vlad for doing such a nice job on the build. Killers!”
Design Lead · Webflow agency
“Looks great overall. Appreciate the quick turnaround.”
Growth Marketing Lead · Client team
“Excellent, thank you so much. The staging looks good.”
Product Owner · Client team

Testimonial 1 of 3

Let's build your next project.

I'll get back to you within 48 hours with a plan.

All fields are required.