adding css for child fields