Conditional Stylesheets and Body Classes

Conditional Stylesheets and Body Classes Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 2,906 downloads
Conditional Stylesheets and Body Classes Icon

Try plugin: Conditional Stylesheets and Body Classes

We'll create fresh WordPress site with Conditional Stylesheets and Body Classes installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Conditional Stylesheets and Body Classes

Add conditional browser stylesheets and body class declarations

2


0


0


0


0

updated: 8 years ago
since: 10 years ago
author: Q Studio

Description

Easily include browser specific stylesheets in templates or select browser and version specific classes in CSS.

Conditional browser stylesheets are added after the main theme style.css allowing them to overrule previous rules – you only need to add the CSS rules that should change.

This plugin uses up-to-date WordPress top level functions, sanitizes all input data and is fully internationalized.

For feature request and bug reports, please use the Q Support Website.

Please do not use the WordPress.org forum to report bugs, as we no longer monitor or respond to questions there.

Features

  • Checks for and adds browser and version specific stylesheets – such as “browsers-windows-firefox.css”.
  • Add browser and version specific body classes to all pages – such as body.browsers-msie-10
  • Includes the Mobile Detect class and adds mobile & touch body classes.
  • Adds a post type body class, for example: “posttype-page”.
  • Inserts handy HTML comments in the HTML footer of template files to tell you which CSS files could be used and which were found.