Osclass Support Forums

Osclass plugin support => Favorite Items Plugin => Topic started by: slicer on October 08, 2018, 05:30:00 PM

Title: default icon
Post by: slicer on October 08, 2018, 05:30:00 PM
Hey guys might sound weird but how can I change default icon in favorite plugin LOL?

I tried changing  ex: fa xx to fa xxy  :-[ but it just stops it's functionality, any help?

 :)

Title: Re: default icon
Post by: MB Themes on October 08, 2018, 08:49:07 PM
@slicer
Rather change via :before
Title: Re: default icon
Post by: slicer on October 08, 2018, 09:52:23 PM
I did, I changed this:
ex:
Code: [Select]
a.fi_save_favorite.fi_save:not(.is_favorite) i.fa-bookmark:before {content:"\f097";}
to

Code: [Select]
a.fi_save_favorite.fi_save:not(.is_favorite) i.fa-heart:before {content:"\f004";}
and or

in favorites function.php:

Code: [Select]
else {
      $icon = 'fa-bookmark';
      $title = __('Saved', 'favorite_items');

to

Code: [Select]
else {
      $icon = 'fa-heart';
      $title = __('Saved', 'favorite_items');

and it becomes unusable and buggy...  :'(
Title: Re: default icon
Post by: MB Themes on October 09, 2018, 08:22:15 AM
@slicer
if you change it via :before, there is no need to change classes anymore.
Title: Re: default icon
Post by: cass on December 21, 2018, 04:42:54 AM
Hi guys, I request your help please:
I tried to change the ugly favorite bookmark icon for the beautiful heart, I worked on the stela theme's style.css, changed the icons in font-awesome.css, variables.less, made hundreds of combinations, but there was always something that stopped it from working.

Style.css
Code: [Select]
a.fi_save_favorite.fi_save.is_favorite i.fa-bookmark-o:before {content:"\f08a";}
a.fi_save_favorite.fi_save:not(.is_favorite) i.fa-bookmark:before {content:"\f004";}

https://prnt.sc/lxqnkb


url: www.buscobarato.cl
Theme: Stela 1.1.1
Favorite Items: 1.1.4

best regards
Title: Re: default icon
Post by: MB Themes on December 22, 2018, 01:54:23 PM
You have to check plugin js as well.