XF 2.2 Value display HTML for custom thread field title - don't worry, found the answer

Mr Lucky

Well-known member
I want to apply a style to the title of a custom thread field. I have it working fine for value, but cannot work out how to apply to title

So for example this works fine

<span style="color:red">{$value} </span>

But I want the title to be different

Can anyone help please?