CSSUA enqueued in your Website

Plugin Banner

CSSUA enqueued in your Website

by themecafe

Download
Description

This plugin enqueues the cssua.js into the website which then adds all the Browser, OS and Device related classes to the HTML tag.

You can use these classes to apply css, specific to Browser, OS or Device.

For Example: if you want the font-size of H1 tag to be smaller in Chrome Browser then you can do it in the following way.

.ua-chrome h1{ font-size: 20px; }

Learn more about cssua.js at http://cssuseragent.org/. Thanks to author for building such a powerful javascript library.

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/cssuaews directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. That’s it. Now open the front end of you website and check the HTML tag. It should now have all the Browser, OS and Device related classes added to it.
  1. All the Browser, OS and Device related classes added to HTML tag

    All the Browser, OS and Device related classes added to HTML tag

1.0

  • Initial Release
  • cssua.js – 2.1.31
Back to top