Username HTML Markup feature


Active member
I migrated my vb4 forum to XF and everything is great so far, but I do miss one feature. I know you can customize the username using CSS and change its colors, fonts, and such. But in VB, I am able to add addition charater\text before and after the username in the Username HTML Markup area.


Is this something that can be done in XF or through CSS alone?


Well-known member
(Almost) everything you can do with HTML tags is doable in CSS. In this case though, you may need some EXTRA.css tinkering.

Add this to your EXTRA.css: (for appending things, replace before with after)

.style*USER GROUP ID HERE*:before {
  content: "Things that come before me";