Control Panel Body Classes



Add special classes to the Control Panel's body tag.

Pairs perfectly with the Control Panel CSS and Control Panel JS plugins!

There are a million things that you may want to do in your control panel, and many of them are conditional. Perhaps you want your CSS (or JS) to only take effect for a certain user group, or only on a specific page. Use these special classes to hone in on your targets with precision!

Disclaimer: It's important to note that showing/hiding fields via CSS and JavaScript is purely cosmetic. Those fields may remain accessible to a savvy user, so don't rely on this plugin to guarantee access/denial of any DOM elements. We accept no liability for any security issues arising from the use of this plugin.


Free

Package Name

To install this plugin, search for its package name on the Plugin Store and click “Install”.


Information

  • Version 2.1.0
  • Last Update 5/11/2018
  • Active Installs 287
  • Compatibility Craft 3
  • License MIT
  • Categories Control Panel

Report an issue