diff --git a/public_html/sites/all/themes/zurb-foundation/template.php b/public_html/sites/all/themes/zurb-foundation/template.php
index 6473eab..a0f2d7c 100644
--- a/public_html/sites/all/themes/zurb-foundation/template.php
+++ b/public_html/sites/all/themes/zurb-foundation/template.php
@@ -216,6 +216,16 @@ function _zurb_foundation_render_link($link) {
$link['#attributes']['class'][] = 'has-dropdown';
}
+ // Put a class in to give us the active trail.
+ foreach(menu_get_active_trail() as $trail_item){
+
+ $link_mlid = isset($link['#original_link']['mlid'])? $link['#original_link']['mlid'] : "";
+
+ if( isset($trail_item['mlid']) && $link_mlid != "" && $link_mlid == $trail_item['mlid'] ){
+ $link['#attributes']['class'][] = 'active-trail';
+ }
+ }
+
// Render top level and make sure we have an actual link.
if (!empty($link['#href'])) {
$rendered_link = NULL;