Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I got a little problem right here. So I installed the wp_bootstrap_navwalker and it works so far. I got a 3 stage Navigation.

The problem is that the navwalker adds the dropdown-menu class to every single child element. But I need it to be like this (main navigation in the header section): http://www.dotsource.de/

So the third child should not have the dropdown class and should always be visible.

Do you know how I can remove the class attribute from only the third child element?

I tried to google it but I think my problem might be too specific.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.