Support » Plugin: Debloat - Remove Unused CSS, Optimize JS » I want to disable specific css on only mobile website

  • Hello

    This plugin is so great. I love this plugin.

    Could you please add this feature, below?

    1.
    disable css feature and js on specific page

    2.
    disable css feature and js on only mobile (or only desktop)

    Some themes does not use specific css on mobile website. but download all desktop’s css.

    I want to disable specific css on only mobile website.

    Hope your reply soon.

    Best Regards

Viewing 1 replies (of 1 total)
  • Hi @mrsmith11. Currently to do this I use the Asset Cleanup (already used it before knowing Debloat). In addition to removing any CSS or JS you want in various scenarios/conditions you can also choose to unload the entire plugin.

    https://wordpress.org/plugins/wp-asset-clean-up/

    For example, if you use Woocommerce on your website (as long as it’s not an e-commerce site), it doesn’t make sense to keep loading the plugin on pages other than products or at the checkout. With Asset Cleanup, you become a powerful wordpress optimizer 🙂

    on my website I’m getting a score of 98 on mobile and 99 on desktop using the combination: Debloat + Asset Cleanup + Litespeed Cache on Litespeed server + Cloudflare

    PS: I’m using it in conjunction with Debloat without any conflicts (obviously I disabled CSS and JS optimization in Asset Cleanup before)

Viewing 1 replies (of 1 total)
  • The topic ‘I want to disable specific css on only mobile website’ is closed to new replies.