nav template change and corresponding css