I have created 2 menu locations at the same place in my theme. With a condition I show/hide 1 menu.
For the 2 locations I have created 2 menu’s. Each menu has his own location.
But my theme’s css only support an menu with the id ‘top-menu’, which is the default menu what we use.
My secondly created menu has another id, which is not recognized by the css (I have added the id to the css, but that is not working).

How can I change the id of my second menu to be the same of the first one?

Read more here: Change default menu id


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: