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

Username HTML Markup feature

Discussion in 'Styling and Customization Questions' started by DJ XtAzY, May 29, 2013.

  1. DJ XtAzY

    DJ XtAzY 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?
  2. tyteen4a03

    tyteen4a03 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";
  3. DJ XtAzY

    DJ XtAzY Active Member

    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.

Share This Page