How can I access and take control of the webflow theme's assets that are being flagged for potential savings in terms of unused CSS and Javascript?

Published on
September 22, 2023

To access and take control of the Webflow theme's assets that are flagged for potential savings in terms of unused CSS and JavaScript, follow these steps:

  1. Accessing the Style Manager: Log in to your Webflow account and open your project. Click on the "Design" tab in the top menu and select "Style Manager" from the dropdown. This will open the Style Manager panel on the right side of the screen.

  2. Identifying unused assets: Within the Style Manager, you will find all the CSS styles used on your website. Look for styles that are labeled as "Unused" or are not applied to any elements. These styles are potential candidates for optimization.

  3. Removing unused CSS: To remove unused CSS, click on the caret symbol (>) next to the CSS style's name. This will expand the style and show you where it is being used. If the style is not used anywhere, you can safely remove it by clicking on the trash icon.

  4. Optimizing JavaScript: For optimizing JavaScript, Webflow doesn't directly provide a feature to identify unused scripts. However, you can manually review your scripts to identify any unused code. Look for scripts that are not called or used by any element on your website. Remove or optimize those unused scripts.

  5. Previewing and publishing: Before making any changes, it's always a good practice to preview them. Click on the "Preview" button in the top menu to see how your website will look with the optimized assets. If everything looks good, click on the "Publish" button to make the changes live.

By accessing and taking control of the Webflow theme's assets, such as unused CSS and JavaScript, you can optimize your website's performance and improve loading times.

Additional questions:

  1. How can I optimize unused CSS in Webflow?
  2. Is there a way to identify and remove unused JavaScript in Webflow?
  3. What are the benefits of optimizing assets in Webflow for SEO?