Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Render-blocking CSS in head: how to find and fix it

PRF-011Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

When a browser loads a page, it reads the HTML from top to bottom. Every <link rel="stylesheet"> in the <head> is render-blocking: the browser waits until that file is downloaded and parsed before it draws anything. It does this so it doesn't show unstyled content.

Why it costs you leads or sales

Visitors from ads decide fast. If the page stays blank or half drawn while CSS loads, some leave before they see your offer or form. Mobile visitors on slower connections feel it most, because each blocking file adds a network round trip and download time.

How blocking CSS delays the offer
  1. HTML arrivesBrowser starts reading the head
  2. Large CSS requestedTheme stylesheet blocks rendering
  3. First paintWaits for CSS
  4. Hero and form visibleLCP happens late

The browser cannot paint until the large stylesheet arrives, so every later step is delayed.

LCP before and after CSS fixesExample numbers
LCP before and after CSS fixes (example)Before: 400 KB blocking CSS: 4.1 seconds; After: critical CSS inlined, rest deferred: 2.3 seconds0234.12.3Before: 400 KB blocki…After: critical CSS i…seconds

Example: illustrative numbers for a mobile landing page, not measured results.

How to check if your site has it

Find blocking stylesheets
  1. Run PageSpeed Insights

    Test your landing page URL on mobile. Open the Diagnostics section and look for 'Render-blocking requests' (older reports say 'Eliminate render-blocking resources').

  2. List the CSS files in the head

    View the page source and search for rel="stylesheet" inside <head>. Note how many there are and which ones are large.

  3. Check file sizes in DevTools

    In Chrome, open DevTools, go to the Network tab, filter by CSS, reload and sort by Size. Anything over about 100 KB is a candidate.

  4. Measure how much is unused

    In DevTools open the Coverage panel (Ctrl/Cmd+Shift+P, type 'Coverage'), reload and see how much of each CSS file is unused on this page.

  5. Compare with a throttled run

    In the Performance panel, set CPU and network throttling to a mid-tier mobile profile and check when first paint happens compared with when the CSS finishes loading.

How to fix it

The goal is the same on every platform: get the CSS needed for the top of the page into the HTML, load the rest without blocking, and shrink what you load. Start with removing what you don't need, because it is the safest win.

General fix order
  1. Remove CSS you don't use

    Disable plugins, widgets, icon fonts and theme modules the landing page doesn't need. Less CSS means less to block.

  2. Inline critical CSS

    Put the styles for the above-the-fold area (header, hero, headline, button, form) in a <style> tag in the head. Keep it small, usually under about 15 KB.

  3. Load the full stylesheet without blocking

    Use the preload pattern shown below so the file downloads in parallel and applies when ready.

  4. Minify and compress

    Make sure CSS is minified and served with Brotli or gzip.

  5. Test the page for layout shifts

    Reload with a cleared cache and check nothing jumps or flashes unstyled content when the full CSS applies.

Inline critical CSS, load the full file without blockinghtml
<head>
  <style>
    /* critical CSS: header, hero, headline, button, form */
    body{margin:0;font-family:system-ui,sans-serif}
    .hero{min-height:60vh;display:flex;align-items:center}
  </style>

  <link rel="preload" href="/css/theme.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
  <noscript><link rel="stylesheet" href="/css/theme.min.css"></noscript>
</head>
Fix by platform
  1. Use a performance plugin's CSS options

    In a caching or optimisation plugin (for example WP Rocket, LiteSpeed Cache or Autoptimize), turn on minify CSS and the options for generating critical CSS and loading the rest asynchronously. Names vary by plugin.

  2. Remove unused assets per page

    Use the plugin's per-page asset controls, or dequeue styles with wp_dequeue_style() in a child theme, for plugins not used on the landing page.

  3. Check page builder settings

    In Elementor, look under Elementor > Settings > Performance for CSS loading and optimised asset loading. Divi has similar options under Theme Options > Performance.

Head of the page

Before

  • Three or four large stylesheets in the head
  • Browser paints nothing until all are downloaded
  • Most of the CSS is unused on this page

After

  • Small critical CSS inlined in the head
  • Full stylesheet loads in parallel without blocking
  • Unused CSS removed from the landing page

How to confirm it's fixed

Confirmation checklist
  • PageSpeed Insights no longer lists the large stylesheet under render-blocking requests, or its estimated savings are small
  • Mobile LCP is lower than before on the same URL
  • In DevTools, first paint happens before the full stylesheet finishes
  • No flash of unstyled content or layout jump on reload
  • The form, buttons and menus look and work the same on mobile and desktop
  • Tested with a cleared cache and in a private window

How to prevent it happening again

Prevention habits
  • Set a CSS size budget for landing pages and check it after theme or plugin updates
  • Add plugins and apps one at a time and re-test page speed after each
  • Use a dedicated lightweight template for paid landing pages
  • Re-run PageSpeed Insights after every theme, page builder or plugin update
  • Regenerate critical CSS when you change the above-the-fold design

How FunnelGuard handles this

FunnelGuard detects this issue only partly. It runs your real customer journeys on a schedule and shows slow loading as an LCP result on the step. It does not name render-blocking CSS as the cause, so an alert tells you the page is slow but not which stylesheet is responsible.

To cover the rest by hand, use the checks above: run PageSpeed Insights on the step that FunnelGuard flagged, read the render-blocking requests list, and use the DevTools Network and Coverage panels to see which CSS files are large and unused. After you fix it, watch the LCP figure on that journey step to confirm it improves. FunnelGuard has a free plan (1 site, 2 journeys, daily checks, no card) and paid plans start with a 3-day free trial.

Questions people ask

What is render-blocking CSS?

Render-blocking CSS is a stylesheet linked in the page head that the browser must download and process before it paints anything. It prevents unstyled content from showing, but large files can leave visitors looking at a blank screen. It directly delays metrics like First Contentful Paint and Largest Contentful Paint.

Why is my theme's CSS slowing down my landing page?

Many themes and page builders ship one large stylesheet covering every page type and widget. The browser has to download all of it before showing the page, even though your landing page uses only a small part. Removing unused CSS and inlining the critical part fixes most of the delay.

How do I eliminate render-blocking resources in PageSpeed Insights?

Open the report's Diagnostics section, find the render-blocking requests, and for each CSS file either inline the critical part, load the rest with a preload pattern, or remove it if unused. Re-run the test afterwards to see the savings change. Don't defer a file without checking the page still looks right.

How do I load CSS without blocking rendering?

Use <link rel="preload" as="style"> with an onload handler that switches it to a stylesheet, and add a noscript fallback. Put the CSS needed for the top of the page in an inline style tag so the page looks right while the rest loads.

What is critical CSS?

Critical CSS is the minimum set of styles needed to display the above-the-fold part of a page correctly. You inline it in the head so the browser can paint straight away. The rest of the stylesheet loads afterwards without blocking.

Does render-blocking CSS hurt SEO and ad performance?

It can slow LCP, which is part of Google's Core Web Vitals and affects how fast your page feels to visitors. A slower page can lose some ad visitors before they see your offer. It is usually a medium-impact issue that adds to other causes.

Can FunnelGuard tell me which CSS file is blocking my page?

No. FunnelGuard shows the slow result as an LCP reading on the journey step but doesn't name the cause. Use PageSpeed Insights and Chrome DevTools to find the specific stylesheet, then watch the LCP value in FunnelGuard after your fix.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: shows as LCP, cause not named.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.