Move the span text in condition