Add Icons to Reply, Mark Unread, Recieve Alert buttons

in Tutorials on 24 Dec 2021

sell  smf  icons  font-awesome


Add Icons to Reply, Mark Unread, Recieve Alert buttons

2.1 has a gazillion icons everywhere but they forgot to add nifty icons to Post buttons. The other day I saw a website that had a "Plus" icon next to their Reply button. I thought it was nice so I decided to add my own.

In this case, it's very simple. If you already use FontAwesome...

Open index.english.php and find:
$txt['reply'] = 'Reply';
Let's add the icon with color. Replace with:
$txt['reply'] = '<span style="color: #fa5f66;"><i class="fas fa-plus"></i></span> Reply';
Change the hex color #fa5f66; to suit your theme and if you want, do the same to the other buttons.



idesignSMF Team
Mick is an American theme designer for Simple Machines Forum software currently living in South Florida, USA. He runs idesignSMF.com and started tinkering with SMF in 2006 where he created several SMF forums of his own before he founded idesignSMF in 2009 to which he is dedicated full time.

idesignSMF.com | SimpleMachines.org



0 Comments


rocket_launch

Professional & Impressive. We provide top quality free SMF themes with awesome support.