Added the header and footer on more pages, and worked out the problem with the active class