Notifications
Clear all

Limited Support

Dear Clients and Partners, we wish you a Merry Christmas and a Happy New Year! May this season bring you joy, peace, and good times with your loved ones.
Our support will be limited during the holidays, and we will return to full service on January 7.
Thank you for your understanding.
We appreciate your support this year and look forward to working with you in the new year.
Happy Holidays!

 

Change the like icon after a post has been liked

3 Posts
2 Users
3 Reactions
545 Views
Posts: 98
Topic starter
(@vanessa)
Estimable Member
Joined: 1 year ago

I'd like to have two different icons for the like indicator on a post.

When a user hasn't liked it, it shows an outline version, and then when a user has liked a post it shows a solid version.

How would I change the icon based on when a post has been liked or not?

For some context, we have users who struggle to see the different between a slightly different color outline icon, and would prefer it worked like other social media sites.

2 Replies
Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

Hi @vanessa,

The like button changes its color indicating that you've already reacted for this post. I think the color says more than the icon outline:

We don't have solution for changing icons and outlines yet. I'll ask our team to add this in our to-do list, but I cannot provide any ETA for this feature.

Reply
1 Reply
(@vanessa)
Joined: 1 year ago

Estimable Member
Posts: 98

@robert Thanks.

I think some of the older members of our forums may be having a difficult time easily distinguishing the colors alone.

In the meantime before we can make it fully solid we've made a slight tweak to make the outline a little bolder using this CSS.

#wpforo #wpforo-wrap .wpf-popover i.fa-thumbs-up {
-webkit-text-stroke-width: 1px;
}

Reply