When using the "Force the active trail"-feature, Custom Breadcrumbs seems to remove all CSS classes from the menu anchor-elements. This causes problems for e.g. the Menu Minipanel module, which relies on CSS to function.

This is before enabling the feature:

<li class="menu-1181">
  <a class="menu-minipanel menu-minipanel-1181 " title="" href="/test">MyMenu</a>
</li>

This is the same menu item afterwards:

<li class="menu-1181">
  <a title="" href="/test">MyMenu</a>
</li>

Comments

Title:CSS classed removed when forcing the active trailCSS classes are deleted when forcing the active trail

Title typo.

Force active trail is a great feature that I really need to enable the menu when viewing node gallery images. So thanks for that. I do have some issues with it though.

1) Classes are also removed from the <li> elements.

For example this is the original

<ul class="menu"><li class="leaf first"><a title="Naar de startpagina" href="/">Startpagina</a></li>
<li class="leaf"><a title="Hart voor uw keuken" href="/keukens">Exclusieve keukens</a></li>
<li class="collapsed"><a title="Particulier interieur" href="/particulier-interieur">Particulier interieur</a></li>
<li class="leaf"><a title="Erkend leerbedrijf" href="/erkend-leerbedrijf">Erkend leerbedrijf</a></li>
<li class="leaf last"><a title="Vacature zelfstandig meubelmaker/interieurbouwer" href="/vacature-zelfstandig-meubelmakerinterieurbouwer">Vacatures</a></li>
</ul>

and compare it with "force active trail" enabled, you can notice the difference for the collapsed <li>

<ul class="menu"><li class="leaf first"><a class="active" id="custom_breadcrumbs_menu-331" title="Naar de startpagina" href="/">Startpagina</a></li>
<li class="leaf"><a id="custom_breadcrumbs_menu-328" title="Hart voor uw keuken" href="/keukens">Exclusieve keukens</a></li>
<li class="leaf"><a id="custom_breadcrumbs_menu-817" title="Particulier interieur" href="/particulier-interieur">Particulier interieur</a></li>
<li class="leaf"><a id="custom_breadcrumbs_menu-788" title="Erkend leerbedrijf" href="/erkend-leerbedrijf">Erkend leerbedrijf</a></li>
<li class="leaf last"><a id="custom_breadcrumbs_menu-1074" title="Vacature zelfstandig meubelmaker/interieurbouwer" href="/vacature-zelfstandig-meubelmakerinterieurbouwer">Vacatures</a></li>
</ul>

2) Also with this option enabled the "startpagina" (home) link is always active.

Let me know if this is related and I should create a separate ticket.

kind regards,
Rik