Revert "Revert "Added Headerfooter class to change text size for header and footers even though they have p tags""

This reverts commit b8ac80f7baed4a4631c5bf13e30c50e975724c93.