Skip to content

[BUG] Icon Heart YITH WooCommerce Wishlist #826

Answered by ePiliK
ePiliK asked this question in Q&A
Discussion options

You must be logged in to vote

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;

&::before {
  content: ‘\f004’;
}

}

.yith-wcwl-icon.fa-heart {
font-family: ‘Font Awesome 5 Free’, ‘Font Awesome 6 Free’;
font-weight: 900;

&::before {
  content: ‘\f004’;
}

}

Ty so much!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@crftwrk
Comment options

Comment options

You must be logged in to vote
1 reply
@crftwrk
Comment options

Answer selected by crftwrk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants
Converted from issue

This discussion was converted from issue #825 on August 21, 2024 17:04.