Osclass Support Forums

Osclass plugin support => Favorite Items Plugin => Topic started by: Chris041973 on June 11, 2020, 01:19:58 PM

Title: How to change the STAR Icon by HEART Icon
Post by: Chris041973 on June 11, 2020, 01:19:58 PM
Hello,

The visitor might thing that the STAR Icon is rating instead of favorite and please where to find this START Icon because I would like to replace it by a HEART Icon ?
File name ?
Old code (for STAR) ?
New code (for HEART) ? I will find it on the Web ...

Thank you & Regards,

Chris
Title: Re: How to change the STAR Icon by HEART Icon
Post by: MB Themes on June 12, 2020, 08:15:28 AM
@Chris041973
Easiest way is to change content attribute of :before element
Title: Re: How to change the STAR Icon by HEART Icon
Post by: Chris041973 on June 12, 2020, 10:28:01 AM
We don't understand your explanation ....
"Easiest way is to change content attribute of :before element", please What does it mean ?
For information, we are not developer ...

The white Star is rather small and we would like to replace the STAR by a HEART icon +  "Add to Favorite" text
Please what files and what is the code ?
Title: Re: How to change the STAR Icon by HEART Icon
Post by: MB Themes on June 12, 2020, 02:18:06 PM
@Chris
https://fontawesome.com/v4.7.0/icon/heart
Check definition of font awesome, icons can be changed using before element.
Title: Re: How to change the STAR Icon by HEART Icon
Post by: ilanexpress on November 05, 2020, 10:46:03 AM
<i class="fa fa-heart" aria-hidden="true"></i>


Where do we need to place this code?
Title: Re: How to change the STAR Icon by HEART Icon
Post by: MB Themes on November 05, 2020, 10:57:05 AM
@ilanexpress
I think best way is to update :before content of icons from star to hearth, if you inspect each element, you will find out file & line.