Thanks for the help, but it doesn’t work for me. It just breaks the “current” hover i add (which I’d like to keep), and I can still clic the link and reload.
And also my nav link class has combo class sometimes so I don’t know how to apply it to all.
Note that the menu won’t work totally on “preview” mode.
Since I use a pageLoad trigger to reset it every time I change page, and seems it doesn’t trigger on preview mode.
I guess full page isn’t reloaded but just content of the preview frame…
ah thanks!
I thought I was doing it wrong this way. But somehow webflow fixes it at publish right?
Because I used capital letter a lot in my class names and also - and _ … but still works fine.