That works, thank you!
Now the only thing I don’t understand is that the styling of the menu is different to what I see on the page, even though I applied the same classes. Also, I can’t seem to make the menu differentiate between “Current” item and apply the set style. What am I missing?
Page:
Category page template: