fix the issue with masthead italics
fixing gallery issues, dylan feedback