Osclass Support Forums
Osclass plugin support => Favorite Items Plugin => Topic started 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?
:)
-
@slicer
Rather change via :before
-
I did, I changed this:
ex:
a.fi_save_favorite.fi_save:not(.is_favorite) i.fa-bookmark:before {content:"\f097";}
to
a.fi_save_favorite.fi_save:not(.is_favorite) i.fa-heart:before {content:"\f004";}
and or
in favorites function.php:
else {
$icon = 'fa-bookmark';
$title = __('Saved', 'favorite_items');
to
else {
$icon = 'fa-heart';
$title = __('Saved', 'favorite_items');
and it becomes unusable and buggy... :'(
-
@slicer
if you change it via :before, there is no need to change classes anymore.
-
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
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
-
You have to check plugin js as well.