assign different class to page_types