Skip to content
Snippets Groups Projects

Issue #3032416: apply readme changes

Merged aaron.ferris requested to merge issue/menu_css_names-3032416:3032416-readme into 2.0.x
+ 56
22
Menu CSS Names
==============================================================================
CONTENTS OF THIS FILE
---------------------
This is a very simple module that takes the title of each drupal menu item and
adds it as a css class name to the menu's <li> element. Any character from
this title that is not an alphanumeric character, dash, or underscore is
converted to a dash; all letters will be converted to lowercase.
* Introduction
* Requirements
* Installation
* Configuration
* Maintainers
Using these class names, css can be used to style each menu item separately as
needed or css sprite techniques can be used. For a menu item whose title is
"Product Information", a typical css rule would look like this:
ul.menu li.product-information { font-style: bold; }
INTRODUCTION
------------
The Menu CSS Names module adds CSS class names to Drupal menus.
* For a full description of the module, visit the project page:
https://drupal.org/project/menu_css_names
* To submit bug reports and feature suggestions, or to track changes:
https://drupal.org/project/issues/menu_css_names
REQUIREMENTS
------------
This module requires no modules outside of Drupal core.
INSTALLATION
------------
* Install as you would normally install a contributed Drupal module. Visit:
https://www.drupal.org/node/1897420 for further information.
CONFIGURATION
-------------
There are no admin settings for this module, it starts doing its work once
the module is enabled. All caches are automatically cleared at this time also.
the module is enabled. Caches are automatically cleared.
The module takes the title of each Drupal menu item and adds it as a css class name to the
menu's <li> element. Any character from this title that is not an alphanumeric character,
dash, or underscore is converted to a dash; all letters will be converted to lowercase.
Using these class names, css can be used to style each menu item separately as needed or
CSS sprite techniques can be used. For a menu item whose title is "Product Information",
a typical CSS rule would look like this:
```
ul.menu li.product-information { font-style: bold; }
```
Drupal 7 Version
==============================================================================
All of the core and contrib theme functions have been updated to make this
module working with Drupal 7. Also, a new function was added that provides
compatibility with the DHTML Menu module.
MAINTAINERS
-----------
Current maintainers:
* Rian Callahan (rc_100) - https://www.drupal.org/u/rc_100
* Neha (nehajyoti) - https://www.drupal.org/u/
* Aaron (aaron.ferris) - https://www.drupal.org/u/aaronferris
Compatibility
==============================================================================
Tested with the following:
- Nice Menus (7.x-2.0-beta3)
- DHTML Menu (7.x-1.0-beta1)
- Zen theme (7.x-3.1)
This project is sponsored by:
* Ashday Interactive Systems - https://www.drupal.org/ashday-interactive-systems
* Zoocha - https://www.drupal.org/zoocha
Loading