Need help placing active class on anchor instead of liCreated 3 years ago by joachimvt
I've created my own custom theme, copypasting from the Starter theme. In my navigation partial I use this twig directive:
.listClass('nav navbar-nav navbar-right')
I would like to have the active link class on the < a > anchor tag instead of the list < li > tag. How could I do this. I know the template off navigation is in navigation-module/resources/views/macro.twig, but I don't want to change this file. How could I change this in my custom theme ?