-
Describe the bugI inserted the yith woocommerce list plugin the problem is that the heart icon always appears black even if the Heart O is set which is the empty one inside with the black border around. is it possible that the icons are somehow altered by bootstrap? can I check somehow? the icon is saved with yith-wcwl-icon fa fa-heart-o. It always returns graphically to me as if it were the fa fa-heart. is it possible that the plugin uses the icons of the old version? checking on font awesome and putting I would see the icon correctly, can I solve in some way to recall those icons? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Quickly googled it and yes, There are several ways to fix this, but the simplest way seems to use .fa-heart-o {
@extend .fa-heart;
} Not tested because I‘m on my phone, but something like this should work. Solved? |
Beta Was this translation helpful? Give feedback.
-
with the @Extended gave this error Bootscore SCSS Compiler - Caught exception: ".fa-heart-o" failed to @extend ".fa-heart". The selector ".fa-heart" was not found.: wp-content/themes/bootscore-child/assets/scss/_bootscore-custom.scss on line 451, at column 5 basically 5 wants fa-regular instead of fa so I solved it like this .yith-wcwl-icon.fa-heart-o {
} .yith-wcwl-icon.fa-heart {
} Ty so much! |
Beta Was this translation helpful? Give feedback.
with the @Extended gave this error
Bootscore SCSS Compiler - Caught exception:
".fa-heart-o" failed to @extend ".fa-heart". The selector ".fa-heart" was not found.: wp-content/themes/bootscore-child/assets/scss/_bootscore-custom.scss on line 451, at column 5
basically 5 wants fa-regular instead of fa
so I solved it like this
.yith-wcwl-icon.fa-heart-o {
font-family: ‘Font Awesome 5 Free’, ‘Font Awesome 6 Free
font-weight: 400;
}
.yith-wcwl-icon.fa-heart {
font-family: ‘Font Awesome 5 Free’, ‘Font Awesome 6 Free’;
font-weight: 900;
}
Ty so much!