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

XF 1.5 How to add font awesome icon next to phrase text?

sross

Active member
#1
Hi,

I would like an exclamation icon next to my "Report" text in the postbit. Is there a simple way to do this? Can some code be inserted before the phrase text to make that happen or will it take a template edit? Thanks!
 

sross

Active member
#4
this worked for me:

Code:
.item.control.report:before
{
display: inline-block;
font-family: FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
margin-right: 5px;
}
.item.control.report:before
{
content: "\f071";
}