# Menu Trail By Path

Menu Trail By Path sets the active-trail on menu items according to the current url.

For example if you are at yoursite.com/blog/category1/article1
Menu Items with these paths will get the active-trail class on them and expand accordingly.

blog
blog/category1
blog/category1/article1

For a full description of the module, visit the
[project page](https://www.drupal.org/project/menu_trail_by_path).

Submit bug reports and feature suggestions, or track changes in the
[issue queue](https://www.drupal.org/project/issues/menu_trail_by_path).


## Table of contents

- Requirements
- Installation
- Configuration
- Maintainers


## Requirements

This module requires no modules outside of Drupal core.


## Installation

Install as you would normally install a contributed Drupal module. For further
information, see
[Installing Drupal Modules](https://www.drupal.org/docs/extending-drupal/installing-drupal-modules).


## Configuration

1. Enable the module at Administration > Extend.
2. When creating a new menu choose "Menu Trail Source" from the drop-down menu.
3. Optionally, on the "Edit" form for the Menu, you may choose
   options for whether or not the Menu Trail Source are "required".


 ## Maintainers

- davy-r - [davy-r](https://www.drupal.org/u/davy-r)
- Adam Moore - [redndahead](https://www.drupal.org/u/redndahead)
- SeriousMatters - [SeriousMatters](https://www.drupal.org/u/SeriousMatters)
- Sascha Grossenbacher - [Berdir](https://www.drupal.org/u/Berdir)