I'm not going to go into great detail as per your requirements, as this topic is covered (in some variant) in many other posts, however, basically, this is the way that you do it. You need to modify the format of the fancypagestyle, then when that style is called, the changes will be reflected in the document