Fixed css, added grid support from the configuration file