XF 2.2 How do I insert my css code in a post?

Galleo

New member
How would I style the words in this post for example wiith this?

background-image: -webkit-gradient( linear, left top, right top, color-stop(0, #d30000 ), color-stop(1, #4ec400 ) );
color: transparent;
-webkit-background-clip: text;
background-clip: text;

I implemented it in Usergroups and since usernames change colors based on rank, so I'm trying to post what all the ranks look like.
 

Iggy

Well-known member
i dont know really.....but im trying to imagine it something like creating an html class, then applying that, per usergroup conditional(applying to posts)....or some such...

best lucks
 

Brogan

XenForo moderator
Staff member
1612815950720.png

1612815921823.png

1612815936823.png

As I said though, just pasting an image of the effect (the last screenshot above), is the simplest solution.

Or create a help page entry and list them all there - you can use HTML in help pages.

1612816245437.png

1612816289358.png
 
Top