update styles and theme template to resolve php errors