Rating picture - by sebz - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 5 years, 7 months ago ago by Olga Barlow

  • Avatar: sebz
    sebz
    Participant
    September 10, 2018 at 20:23

    Hello,
    1. Is this possible to change star rating to png picture/icon and if yes could you please point me what I should edit to achieve this?
    I was trying to do this in css but without success 🙁
    2. Also I was trying to add css which I found on your forum, to make all 5 voting stars all together (in standard theme voting is like 1+2+3+4+5) but when I apply css, there are no stars but letters “S”.

    Please help!
    Best regards,
    Sebastian

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 11, 2018 at 15:41

    Hello,

    You need to specify the “star” font family. By default WooCommerce do this but in your case I don’t nee star.woff in your sources http://prntscr.com/kt5zr4 . So, make sure that WC plugin includes font file and you can try to add font-face rules into child theme style.css to enable it, for example,

    @font-face {
        font-family: star;
        src: url(../../../../../plugins/woocommerce/assets/fonts/star.eot);
        src: url(../../../../../plugins/woocommerce/assets/fonts/star.eot?#iefix) format("embedded-opentype"),url(../../../../../plugins/woocommerce/assets/fonts/star.woff) format("woff"),url(../../../../../plugins/woocommerce/assets/fonts/star.ttf) format("truetype"),url(../../../../../plugins/woocommerce/assets/fonts/star.svg#star) format("svg");
        font-weight: 400;
        font-style: normal
    }

    Regards

    Avatar: sebz
    sebz
    Participant
    September 13, 2018 at 09:56

    Thank you very much for your answer!
    What about my first question, regarding changing stars to custom bitmap. How can I do this?

    Thank you again and best regards,
    Sebastian

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 13, 2018 at 16:49

    Hello,

    Probably it’s possible by additional CSS customization you can submit the customization request here https://wpkraken.io/?ref=8theme

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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