counter-and-navigation template: add two classes