Add to whislist image - by jeremy - on WordPress WooCommerce support

This topic has 8 replies, 2 voices, and was last updated 6 years, 4 months ago ago by Rose Tyler

  • Avatar: tlgv
    jeremy
    Participant
    December 6, 2017 at 19:45

    Hello,

    I want to have a black heart instead of a white heart on my add to wishlist button.

    Please find screenshot.

    Thank you.

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 7, 2017 at 09:03

    Hello,

    You need to change icons.png image (royal/images/sprite).

    Regards

    Avatar: tlgv
    jeremy
    Participant
    December 7, 2017 at 09:22

    Hello,

    Ok thank you but what I have to change? icons.png is many images on one file… How the browser take one image or another image on the png?

    Thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 7, 2017 at 09:43

    Hello,

    Simply change the color of heart icon http://prntscr.com/hk7u4q via photoshop.

    Regards

    Avatar: tlgv
    jeremy
    Participant
    December 7, 2017 at 10:01

    Hello,

    Thank you, I changed it and I put the png file in my child theme. Is it ok to put it in child theme? Because it doesn’t work.

    Thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 7, 2017 at 10:16

    Hello,

    You need to change the image in parent theme or try to use this code:

    .yith-wcwl-add-to-wishlist a::before {
        content: "\f004";
        font-family: "FontAwesome";
        background: none;
    }

    Regards

    Avatar: tlgv
    jeremy
    Participant
    December 7, 2017 at 10:42

    Thank you, your code works great.

    Topic closed.

    Thanks a lot.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 7, 2017 at 10:43

    You’re welcome!

    Regards

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Add to whislist image’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.