Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
CSS Names is a collection of small modules that make it possible to add theming to items that were previously difficult to target with css selectors. Most of these modules just add additional class names to a particular HTML element, with the class name based on the element's content or position within the parent structure.
The No Colons module allows you to remove colons from form labels and other types of label text. There are two modes of operation: Remove all colons -or- Remove colons only if label text ends in punctuation (such as a question mark).
A helper module providing a function to be used in themeing or module building facilitating the detection of menu trails.
Description
There are several modules and suggestions for a path-based attribution of the "active" or "active-trail" class for links. Contrary to the substring-based method in e.g. Menu Trail By Path, this module first explodes pairs of pathes into arrays of arguments separated by "/" before it checks one against the other. Thus it avoids confusions resulting from partial word matchings like "grape => grapefruit". Finding an ordered intersection between current path alias and link path, it will attribute an "active" class to the latter. For example, a link pointing to "fruit/grape" will be flagged as active, if the current path is "fruit/grape/burgundy"; if the current path is "fruit/grapefruit" or "fruit/burgundy" it will be not. If the current path is an unaliased node path ('node/27'), there will be no effect at all. (For a content-based assignment of nodes to menu items, Menu trails does a good job.)