make header center and tamplate page