Webflow sync, pageviews & more.
NEW

How can I remove or call third-party CSS on my Webflow website’s source code that I didn't add myself?

TL;DR
  • Inspect the page source and DevTools to find external CSS links or imports.
  • Review all embed elements, site-wide custom code, and active integrations for injected styles.
  • Check cloned components and Webflow font settings to eliminate unnecessary or hidden third-party CSS.

If your Webflow site is loading third-party CSS you didn’t add, it may have been introduced via integrations or embed code. Here’s how to identify and remove it.

1. Inspect the Live Page’s Source Code

  • Right-click on your published site and choose View Page Source or use DevTools (F12) in your browser.
  • Look for <link> or @import statements pointing to external stylesheets (e.g., from other domains like fonts or plugin providers).
  • Note the URLs or library names being loaded.

2. Check Webflow’s Embed Elements

  • Go through all pages and check for Embed components inside sections, symbols, or the page body.
  • Look for any <link rel="stylesheet">, @import, or <style> that includes third-party code.
  • Remove or comment out anything unfamiliar or not intentionally added.

3. Audit Site-Wide Code Injection

  • Go to Project Settings > Custom Code.
  • Check both the Header and Footer code fields for external CSS links or script-generated styles.
  • Look for external calls like <link href="https://some-external-site.com/style.css" rel="stylesheet"> and remove anything unnecessary.

4. Review Third-Party Integrations

  • Check for active integrations in Project Settings > Integrations.
  • Services like Google Optimize, HubSpot, or chat widgets can sometimes inject extra styles.
  • Disable or adjust them if they’re the CSS source.

5. Inspect Custom Code in Components

  • If you’ve cloned components from Webflow’s showcase or third-party libraries, they may include extra styles.
  • Open the relevant layout symbols or template sections and inspect for embeds or extra classes that trigger remote CSS.

6. Clear Webflow’s Autogenerated Code

  • Webflow itself does not automatically add third-party CSS unless it's a Webflow-native component (e.g., Webflow’s CMS styles or fonts).
  • However, Google Fonts are added automatically when used from the font menu. You can reduce unused fonts by:
  • Go to Project Settings > Fonts and uncheck unused fonts.
  • In the Designer, remove unused fonts from the Typography panel.

Summary

Unwanted third-party CSS on a Webflow site usually comes from Embeds, Custom Code, Font settings, or Integrations. Use DevTools and Webflow's Custom Code areas to locate and remove these CSS calls. Always double-check cloned components and third-party widgets for hidden injections.

Rate this answer

Other Webflow Questions