Query correct css_class from configuration