how to add icon to custom user field on postbit?

alprly

Active member
Registered
Joined
Apr 24, 2020
Messages
32
Points
18

Reputation:

Screenshot_202.png


how i can add icon to "Credits"?
 

Sgc

Active member
Registered
Joined
Nov 19, 2021
Messages
25
Points
3

Reputation:

/admin.php?templates/dbtech_credits_postbit.1463/edit&style_id=1

image (1).jpg

Dellete

Code:
<dl class="pairs pairs--justified">
<div class="post-icon"><i style="color: #AAA;" class="fas fa-coins"></i></div>
<dt><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">{$currency.title}</font></font></dt>
<dd><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
<a href="{{ link('dbtech-credits/currency', $currency, {'user_id': $user.user_id}) }}" data-xf-click="overlay" class="fauxBlockLink-blockLink u-concealed">
                {$currency.prefix}{{ $currency.getValueFromUser($user) }}{$currency.suffix}
            </a>
</font></font></dd>
</dl>
add

fas fa-coins :D
 

alprly

Active member
Registered
Joined
Apr 24, 2020
Messages
32
Points
18

Reputation:

/admin.php?templates/dbtech_credits_postbit.1463/edit&style_id=1

View attachment 29451
Dellete

Code:
<dl class="pairs pairs--justified">
<div class="post-icon"><i style="color: #AAA;" class="fas fa-coins"></i></div>
<dt><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">{$currency.title}</font></font></dt>
<dd><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
<a href="{{ link('dbtech-credits/currency', $currency, {'user_id': $user.user_id}) }}" data-xf-click="overlay" class="fauxBlockLink-blockLink u-concealed">
                {$currency.prefix}{{ $currency.getValueFromUser($user) }}{$currency.suffix}
            </a>
</font></font></dd>
</dl>
add

fas fa-coins :D
Sgcthanks much
 
  • Like
Reactions: Sgc
Top