Applied CSS class to grids