cbodyclass
Component ID
2420937
Component name
cbodyclass
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
This module add contextual classes and responsive classes to HTML body which can be very helpful to style differently on different context. Contextual classes like we have on Drupal 7.
It also add responsive classes on different window widths like:
cbody-layout-mobile, cbody-layout-narrow, cbody-layout-normal, cbody-layout-wide
=====
Installation
-----
1. Enable the module.
2. You will get all dynamic classes via JS in HTML body.
2. If want these dynamic classes even in disabled JS browser, Insert a PHP snippet to your theme's page.tpl.php file(s) that prints the $body_classes variable.
