when added heart color stays red
-
Hi,
Why does the setting “after product is added to wishlist” make different button classes?
For Show “View wishlist” link it is:
class=”wishlist-button button is-outline circle icon wishlist-added”
and for Show “Remove from list” link it is:
class=”wishlist-button button is-outline circle icon”I added some custom css so the heart will stay red when added to wishlist:
button.wishlist-button.button.is-outline.circle.icon.wishlist-added {
background-color: #b20000;
border-color: #b20000;
color: #ffffff;
}But it now only works with the setting Show “View wishlist” because of the wishlist-added in the class. I would like to use setting Show “Remove from list”, but that one does not have wishlist-added in the class.
https://snipboard.io/9MXrz8.jpg
https://snipboard.io/KVPTSA.jpgThe page I need help with: [log in to see the link]
- The topic ‘when added heart color stays red’ is closed to new replies.