edit css and pagination