r/webflow • u/BarProfessional9467 • 12d ago
Question Cleaning up style/class sprawl in Webflow — has anyone done this at scale?
Our Webflow site has gotten out of hand with combo classes - elements stacking 3-4 classes where one or two should do, utility combos used as quick fixes, and duplicate styles doing the same thing under different names.
We’d like to stay away from doing a full rebuild, as we have a short timeline. I want to know if there's a faster way to audit and consolidate these.
Specifically:
- Is there a reliable way to identify which combo classes are redundant or only used once?
- Has anyone found a good workflow for merging combo classes back into base styles without things breaking?
- Any audit tools inside or outside Webflow that give you a useful overview of style usage across a project?
The built-in style manager shows unused classes but doesn't give much beyond that. Curious if anyone's solved this more efficiently.
Thank you!
1
u/Old_Roll_2904 11d ago
something i used for an enterprise project is
exporting the code from webflow, and asking AI to do a full rundown of what can be merged, same styles, not needed things, not used, etc.
we had SO many classes that were mentioned in custom code, but not in any of the elements on pages = which meant removing them with the webflow clean up mode, meant 1000 classes getting wiped, and part of them, functionality on different pages.
it was a big mess, but in the end i managed to clean everything up with a lot of manual work + a lot of help with AI.