Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
achtonTitle typo.
Comment #2
Rik CreditAttribution: Rik commentedForce 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
and compare it with "force active trail" enabled, you can notice the difference for the collapsed
<li>
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
Comment #3
lamp5