Trying to add a class to a menu in a preprocess function
To add class in navigation's &lt;ul&gt; element, include below code in template.php

function THEMENAME_menu_tree__menu_MENUNAME($variables) {
return '&lt;ul class="CLASSNAME YOU WANT TO ADD"&gt;' . $variables['tree'] . '&lt;/ul&gt;';
}