*

slicer

  • ****
  • 204 posts
default icon
« 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?

 :)


*

MB Themes

Re: default icon
« Reply #1 on: October 08, 2018, 08:49:07 PM »
@slicer
Rather change via :before
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: default icon
« Reply #2 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...  :'(

*

MB Themes

Re: default icon
« Reply #3 on: October 09, 2018, 08:22:15 AM »
@slicer
if you change it via :before, there is no need to change classes anymore.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

cass

  • ***
  • 48 posts
Re: default icon
« Reply #4 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

*

MB Themes

Re: default icon
« Reply #5 on: December 22, 2018, 01:54:23 PM »
You have to check plugin js as well.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots