dklemmt / contao_dk_mmenu

Implementation of mmenu as extension for Contao Open Source CMS
15 stars 16 forks source link

Adds the active class to the last trail element #58

Closed rabauss closed 3 years ago

rabauss commented 3 years ago

Adds the active class to the last trail element if no active one was found. Of course there we could even add a new class to the active item e.g. selected and change the configuration here: https://github.com/dklemmt/contao_dk_mmenu/blob/57e92edc0d0fe26df8b3295bc44e9e27050f6da6/src/Helper/MmenuHelper.php#L42

fritzmg commented 3 years ago

Fine with me :). If I or anyone else has a "better" idea later on, we can always change that then.