XF 2.1 Changing default avatar font

bryanb

Active member
Is there a way to change the font of the default avatar? If so, would the visitor need that font installed in their browser/computer - or should it be something that most computers have already? If so, how and in which template would I find this? Thanks!
 
You can use something like this in the template extra.less:

Code:
#XF .avatar.avatar--default.avatar--default--dynamic {
    font-family: Verdana, Arial;
}

If you define a font the user doesn't have it will fallback to the default, currently, they have it set to:

Code:
font-family: 'Arial',sans-serif;
 
Top Bottom