• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Username HTML Markup feature

DJ XtAzY

Active member
#1
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?
 

tyteen4a03

Well-known member
#2
(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)

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

DJ XtAzY

Active member
#3
Thanks for the tip! It worked. I just need to put /* */ in the User Name CSS box in order for the css in extra.css to display properly.