This plugin hasn’t been tested with the latest three major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Mobile Detect For CSS


The library is from The BODY tag needs to use the body_class() function. The values: desktop, handheld, mobile, tablet, ios, android. See the screen shots for more.

Mobile_Detect.php version 2.8.20


  • On mobile
  • On tablet


  1. Download the widget and upload it to your server through WP Admin -> Plugins -> Add New -> Upload
  2. After the upload is complete activate the plugin.


Any questions?


There are no reviews for this plugin.

Contributors and Developers

“Mobile Detect For CSS” is open source software. The following people have contributed to this plugin.


Change Log


  • Update Mobile_Detect.php library to version 2.8.20