Code:
customFrame.text = customFrame:CreateFontString(nil, "BACKGROUND", "PVPInfoTextFont");
Try without the red part, does that work? I'm fairly sure the third argument of CreateFontString is just so you
don't have to set a font etc. manually, instead it'll inherit the style of an already existing template.
I'm not 100% sure about this, but this is what I gathered from when I was messing around with DailyChecklist.
EDIT: Some more reading on fontstrings
http://wowprogramming.com/docs/widge...eateFontString
http://wowprogramming.com/docs/widgets/FontString
http://wowprogramming.com/docs/widgets/FontInstance