[support] Using <front> for Path in a menu link

Jamie Holly hovercrafter at earthlink.net
Fri Jan 3 16:43:48 UTC 2014


The color of links are all done in CSS. Using your browsers developer 
tools, inspect that element and see where it's getting the color from. 
Most likely it's from a :active or .active CSS rule.

The base Drupal menu rendering function does add class names to each 
item, based on their menu item id, so you can add a rule to just target 
that menu item (ie: menu-230 or whatever the ID is). That depends in a 
large part on your theme.

Basically this is just simple CSS/themeing. Not really sure what you 
mean by a "transparent view". You may be able to do something in views 
to change this, just like a surgeon could use a chainsaw to make an 
incision. It could work, but absolutely the wrong tool/technology for 
the job.

Jamie Holly
http://hollyit.net

On 1/3/2014 11:32 AM, Philip_Wetzel at nhd.uscourts.gov wrote:
> Hi all,
>
> My client wants to have no landing page if the user clicks on any of the
> top level menu links.
> Specifying <front> for the path works perfectly, except the color of the
> menu becomes
> the "selected" color (same as mouse over).
>
> I still want it to change color when the user mouses over it.
>
> Is there a way to fix that?   I was thinking of creating a view that is
> completely transparent,
> but I'm not sure how to do that if possible.
>
> Thanks,
> Phil
>



More information about the support mailing list