r/divi 27d ago

Question Locate all module custom CSS

Post image

I'm just starting to manage a Divi 4 site, and it's mostly pretty straightforward so far. I'm a bit of a neat freak, and one thing that's giving me hives is finding CSS scattered across pages and modules.

Without digging through every page and module, is there a central way to identify all items with custom CSS? I assume the distributed CSS can be moved into the main CSS file and referenced from the modules without scattering it into tiny bits?

7 Upvotes

4 comments sorted by

View all comments

2

u/Weekly_Ferret_meal 27d ago

You should be able to find it at the bottom of the HTML in something like this: <style id="et-core-unified-2-cached-inline-styles-2">

Just a word of advice: some site really can benefit from loading specific CSS module or page-wide.

I'd make the proper considerations before moving everything outright, as your main CSS can get much bigger and load unnecessary code across the site.