Hello,

i have a running D8beta6 installation.

<ul class="menu">
  <li class="leaf"><a>xxx</a></li>
  <li class="expanded active-trail">
    <a>xxx</a>
    <ul class="submenu">
      <li class="leaf"><a>xxx</a></li>
      <li class="leaf active-trail"><a class="active">xxx</a></li>
      <li class="leaf"><a>xxx</a></li>
    </ul>
  </li>
  <li class="leaf"><a>xxx</a></li>
</ul>

The main system menu has classes attached like this (active,active-trail).

I now try to reproduce this for D8rc3, but no active classes are set anymore ...
I have no idea, why this does not works anymore with identical templates and the same .theme file ...

Has someone a good idea?

Thanks and regards
SB

Comments

sachbearbeiter’s picture

Ah - i have to take the menu.html.twig template from "Classy" ...

sergey-serov’s picture

Greetings!!
Yeees, I had the issue like this - after update from Drupal 8.0.4 up to Drupal 8.2.7.
`Yml` of the theme was with small incorrectness and after update base theme templates stopped work.