A common support question is:
How do I add a custom class to the ul element in the WordPress navigation menu.
This code snippet will do it for you when added to functions.php.
https://gist.github.com/vfontjr/3c73cd090031f7e902edcc39683e76b7#file-add_class_to_wp_menu_ul-php