Minify troubleshooting
Symptom
After enabling CSS or JavaScript minification/combination, parts of the site break: missing styles, console errors, non-working menus, filters, forms, or builder-related scripts.
Applies To
- Asset Minification with script or style queues
- Sites that also minify in LiteSpeed, WP Rocket, or WP-Optimize (see other performance plugins)
Likely Causes
- A script or stylesheet that must load unminified is in a queue.
- Combine order breaks a dependency (for example jQuery plugins).
- Another plugin is also minifying the same files.
- Divi Engine or Divi core handles were forced into a public minify queue.
Fix
Step 1: Confirm minify is the cause
- Disable script minification and style minification in Divi Engine → Nitro Settings → Scripts & CSS (or use Debug Tools to disable all features).
- Clear minify cache and hard-refresh logged out.
- If the site recovers, continue below.
Step 2: Use Smart Minify suggestions and the Frontend Asset Helper
- Enable the Frontend Asset Helper (admin bar) from Nitro minify settings.
- View the homepage logged in with the helper.
- Prefer Smart Minify suggestions / safe queues instead of pasting every handle.
- Leave Divi Engine and protected Divi items out of public queues (Nitro already prefers this by default).
Step 3: Isolate JavaScript queues
- Clear the JS minify queue (or start from suggestions only).
- Re-add scripts in small groups, save, clear minify cache, and test.
- When something breaks, move the last added handle to a separate queue or remove it.
- Try removing or splitting
divi-custom-scriptandet-common-corefirst if those appear in your list — they are common troublemakers.
Step 4: Isolate CSS queues
- Same process for CSS: small batches, clear cache, test.
- Try child-theme and parent-theme styles first if the layout breaks.
Step 5: Avoid double minification
Turn off minify/combine in LiteSpeed, WP Rocket, or WP-Optimize if Nitro is minifying — or the reverse. Do not run both.
Verify
Front-end pages look correct logged out, and the browser console has no minify-related script errors. Filters, forms, and menus still work.
Collect for Support
- Which handle or queue entry fixed the issue when removed
- Whether JS, CSS, or both were enabled
- Other minify plugins active
- Console error text