• H5P loads the following CSS on every admin page even if only its icon is needed on the left side menu:
    /h5p/h5p-php-library/styles/h5p.css
    /h5p/admin/styles/admin.css

    You should create a specific minimalistic CSS file to show the H5P icon in admin left side menu.
    All others ssets should be loaded only on your admin pages and for your shortcodes (if needed), as others plugin do.
    It seems to be nothing but many plugins behave the same way which leads to heavy loading pages for admins…
    I’m sure you’ll find best practices or example of plugins loading their CSS (for admin at least) only when mandatory (plug-in setting pages, admin dashboard, specific pages if needed, etc…).

    Keep on the good work!

    Thanks

  • The topic ‘CSS loaded for every admin page’ is closed to new replies.