changes css for date and title fileds