Changed grid function and edited styling in multiple pages.