Hey there,

I would really love the Superfish Menu to highlight the active link by being in a different color, just like the main menu from Drupal.

I came to understood the issue was inside the core of Drupal ; though I saw no recent answer, nor a definitive one.

Thank you for any help !

Comments

geek.geek’s picture

Status: Active » Fixed

Hi,

You can do it with a little CSS .sf-menu .active {background:#fff;color:#000}

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Vinsssounet’s picture

Thanks, but does this mean the secondary menus do receive an active trail ? My understanding was it was a problem inherent to the Drupal Core itself, not just the Superfish module.

geek.geek’s picture

What do you mean by "secondary menus" exactly? 2nd level?

Vinsssounet’s picture

I mean when you're currently on a child page, the parent menu isn't considered as active.

For example if you got a menu "xxx>yyy" when you're on page "xxx", it is highlighted, but when you're on the child page "yyy", "xxx" isn't highlighted anymore.

geek.geek’s picture

Piece of cake .sf-menu li.active-trail > a {background:#fff;color:#000}