I have been struggling a bit with this idea. The thing I want to achieve is that all elements are regular dropdown but the second one is a megamenu styled item.
And for that I have prepared markup but and want it to be applied only to 2nd element in the list. I am stuck a bit.
This is something what I want link
Read more here:: Change markup for just 2nd list element in custom Walker menu