2016-11-26, 07:53 AM
Ignore step 1 if you are already linking to Font Awesome CSS, although you need to make sure that it's the latest version (4.7.0 at this time) as these icons are new.
Step 1:
In headerinclude add above {$stylesheets}:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
Step 2:
Add to usercp.css
Step 3:
In private_messagebit and private_search_messagebit templates:
Find
<img src="{$theme['imgdir']}/{$msgstatus}.png" alt="{$msgalt}" title="{$msgalt}" />
and replace with:
<span class="x_{$msgstatus}" title="{$msgalt}"></span>
Before:
![[Image: before.png]](https://camo.mybb.com/47ecdd11e5acc02e3e142864b7fe8b7216fac3aa/68747470733a2f2f7331362e706f7374696d672e6f72672f376c6a336b327868782f6265666f72652e706e67)
After:
Step 1:
In headerinclude add above {$stylesheets}:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
Step 2:
Add to usercp.css
.x_new_pm:before {font-family:FontAwesome; content: "\f003"; font-size:16px}
.x_old_pm:before {font-family:FontAwesome; content: "\f2b7"; font-size:16px}
.x_fw_pm:before {font-family:FontAwesome; content: "\f2b7"; position:absolute; font-size:16px}
.x_fw_pm:after {font-family:FontAwesome; content: "\f178"; position:relative; top:11px; left:5px; color:#5b94c5; font-size:16px}
.x_re_pm:before {font-family:FontAwesome; content: "\f2b7"; position:absolute; font-size:16px}
.x_re_pm:after {font-family:FontAwesome; content: "\f177"; position:relative; top:11px; right:5px; color:#663096; font-size:16px}
Step 3:
In private_messagebit and private_search_messagebit templates:
Find
<img src="{$theme['imgdir']}/{$msgstatus}.png" alt="{$msgalt}" title="{$msgalt}" />
and replace with:
<span class="x_{$msgstatus}" title="{$msgalt}"></span>
Before:
After:
What goes around comes around