Fixing template style and navigation style