Same header and footer in admin across all sites in network


I want to display the main site header and footer in the admin of all of our subsites, but I don’t know how it can be done.

I have read a post on stack exchange: and the user says he made it work, but I can’t find out how to create it.

Can you help me?