header > nav > ul > li > a structure in mandatory?
hackuun opened this issue · 2 comments
hackuun commented
Hello. I had this markup and plugin worked incorrect nav > a
After I add markup from example it begin to work.
Is this structure is mandatory?
lcdsantos commented
The active class will be applied to the closest parent element of a
.
In the case of nav > a
, the class will be applied to nav
, which is not useful.
hackuun commented
@lcdsantos It make sense. Thanks!