Set a CSS class to apply to the page's "body" element based on the current menu item.

For the initial release this module walks in reverse the current active menu trail for the page being viewed and applies the first found CSS class defined in the menu item's edit screen.

Install

  • Download and install this module as you would any other module.
  • Define a CSS class to apply to a page by editing or adding a menu item under Structure > Menus > [Target Menu]

Project information

  • Created by cravecode on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases