How to add a class directly on a unordered list element that is a primary navigation

I’m working in WordPress 4.9.5
For any WP navigation menu I create, what would be the best approach for adding a custom class name directly on the element? I need it on this element and prefer not to do javascript injections to add the class name to it.

Read more here:: How to add a class directly on a unordered list element that is a primary navigation

Leave a Reply

Your email address will not be published. Required fields are marked *