Properly hiding footer and removing header/footer style to hide