Edit header and footer layouts