Support » Plugin: Asset CleanUp: Page Speed Booster » Ninja Forms compatibility issue

  • Resolved The Easy Web Co.


    HI my friend.

    Just wanted to give some feedback as I really like your plugin.

    I use Ninja Forms (v 3.4.24) and Asset CleanUp ( and if I turn on Disable Dashicons option, the Ninja Forms forms lose all their styling, i.e. the Ninja Forms CSS files are not loaded up.

    Its not a big drama- I debugged it and simply deactivated this option to avoid the issue, however it was unexpected.


    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gabe Livan


    @etalented thanks for raising this ticket! You made a good point. I checked the latest version of Ninja Forms and the handle “nf-display” (/wp-content/plugins/ninja-forms/assets/css/display-structure.css) is set as a “child” of the parent ‘dashicons’ handle. This means that whenever you unload ‘dashicons’, it will also unload all of its children. The dependency was added there for a reason by the Ninja Form developers. Perhaps they needed it at some point, but it’s not needed now (you can test that using the instructions mentioned below).

    What you can do is deactivate the option “Disable Dashicons Site-Wide For Guests” (if you have it active), and go to edit a page while you’re logged-in and apply to ‘dashicons’ handle the following: ‘Ignore dependency rule and keep the “children” loaded‘, ‘Unload site-wide‘ & ‘Load it if the user is logged-in‘ since you need it for the admin bar. I’ve attached a print screen that is showing exactly how I’ve done and works well in my tests. See the URL here:

    PS: In future versions of the plugin there will be warnings to alert you if there are any dependencies whenever you mark a CSS/JS for unload and forget to tick ‘Ignore dependency rule and keep the “children” loaded‘.

    Plugin Author Gabe Livan


    @etalented how it’s going? Did you manage to go through the steps I mentioned to preserve the Ninja Forms styling?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ninja Forms compatibility issue’ is closed to new replies.