custom-header not working

Got it working. I had to call the function in my page where I want it to work, the method of doing so is here: (link provided by Jacob Peattie) and it needs to be within the tags rather than simply a div with an id of site-header.