CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Features
 * Requirements
 * Installation
 * Configuration
 * Usage
 * Maintainers


INTRODUCTION
------------

Body Class is a simple module that allows users to add custom CSS classes
to any node through the node edit interface. The respective classes will
appear in the <body> tag when viewing the node, making it easy to apply
custom styles to specific pages.

This is particularly useful for:
 * Adding unique styling to individual pages
 * Creating featured content with special visual treatments
 * Applying different layouts to specific nodes
 * Integrating with front-end frameworks that rely on specific CSS classes


FEATURES
--------

 * Add custom CSS classes to any node via a simple text field
 * Configure which content types can use body classes
 * Support for multiple space-separated classes
 * Administrative page to view all nodes with body classes
 * Permission-based access control
 * Database-backed storage for performance
 * Full test coverage (Functional, Kernel, and Unit tests)


REQUIREMENTS
------------

This module requires Drupal 9.0 or higher.


INSTALLATION
------------

Install as you would normally install a contributed Drupal module. Visit
https://www.drupal.org/docs/extending-drupal/installing-modules
for further information.


CONFIGURATION
-------------

1. Navigate to Administration > Configuration > Development > Body Class
   (admin/config/development/body_class)

2. Select which content types should have the body class field available

3. By default, all content types have the field enabled


USAGE
-----

1. When creating or editing a node of an enabled content type, you will see
   a "CSS Class(es)" field

2. Enter one or more CSS classes separated by spaces
   (e.g., "featured highlight blue-theme")

3. Save the node

4. When viewing the node, the classes will appear in the <body> tag

5. To view all nodes with body classes, visit:
   Administration > Configuration > Development > Body Class


PERMISSIONS
-----------

 * Administer Body Class: Grants access to configure which content types
   can use body classes and view the administrative listing page


MAINTAINERS
-----------

Current maintainers:
 * Jaseer Kinangattil (JaseerKinangattil)
   - https://www.drupal.org/u/jaseerkinangattil
