Notifications
Clear all

[Closed] I want to change this.

5 Posts
2 Users
0 Reactions
913 Views
netvilox
Posts: 64
Topic starter
(@netvilox)
Estimable Member
Joined: 6 years ago

Is it possible to change this to love. 

With "fas fa-heartbeat"

4 Replies
Sofy
Posts: 5002
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi @netvilox,

If you're a developer you can customize wpForo template as you like and replace the like icon with the heart one. 

An update safe way for such customization is described in this doc: https://wpforo.com/docs/root/forum-themes/theme-customization/

If you're not a developer below is a simple code that allows you to make customization:

1. The following js code should be added in the active theme's js files. 

jQuery('.wpf-like-icon > i').removeClass('fa-thumbs-up').addClass('fa-heartbeat');

2. Put the CSS code in the "Custom CSS code" textarea, located in the dashboard > Forums > Settings > Styles admin page: 

#wpforo #wpforo-wrap .wpfl-4 .wpf-content-foot .wpf-like i.fa-heartbeat {
font-weight: bold;
}

Delete all caches and check again. 

netvilox
Posts: 64
Topic starter
(@netvilox)
Estimable Member
Joined: 6 years ago

There are many files in js

Pls specify. 

netvilox
Posts: 64
Topic starter
(@netvilox)
Estimable Member
Joined: 6 years ago
Posted by: @sofy

The following js code should be added in the active theme's js files. 

Pls specify 

1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 5002

@netvilox,

Please read this article it should be helpful for you:

https://www.collectiveray.com/wp/tips/add-javascript-to-wordpress