Home › Forums › JavaScript › How to keep state of custom menu in WordPress? › Reply To: How to keep state of custom menu in WordPress?
January 27, 2016 at 10:41 am
#237383
Ricky55
Participant
not totally sure what you mean. Isn’t this just achieved with CSS? WordPress gives you certain classes that you can use to style accordingly.
You can set parameters in your wp nav menu function to control class names and behavior etc.
https://developer.wordpress.org/reference/functions/wp_nav_menu/
Sorry if I’ve misunderstood your question.