However I only wanted the header from the main template but have the footer from the homepage template
I suspect that you need to look at the template files /common/tpl_header.php & tpl_footer.php
I also want a different footer background
These are controlled through the stylesheet.css file