New Landing How can we help? Atelier Review stars size

Viewing 15 posts - 1 through 15 (of 23 total)
  • Posted in: Atelier
  • #203790
    HoGo
    Member
    Post count: 92

    Hi,

    Could you please tell me how to make review stars bigger? I tried to do it, but then the number of starts for a product is displayed incorrectly. This is because the span with coloured stars has fixed width and I do not know how to change its width. Is it set somewhere inline o by some JS?

    Regards
    Bogusz

    #203799
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    #203802
    HoGo
    Member
    Post count: 92

    Hi,

    I am sorry do I do what at product assets? I did not understad. I want to make them bigger on product page mainly bot under the product name and in “add review” form and on reviews list.

    #203809
    tonn
    Member
    Post count: 85

    Hi Bogusz,

    Although I’m not support I thought I’d reply. Try changing the font size in CSS:

    .woocommerce .star-rating {
    font-size: 18px;
    }

    #203810
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Thanks that will work.

    I missed a word in my reply above, was asking about the place where you want to change it since there is more than 1 place.

    -Rui

    #203813
    HoGo
    Member
    Post count: 92

    Hi,

    sorry but it does not, I have tried it. As I wrote in my forst message, stars get bigger, but the width of the the span for coloured stars remains the same so before i had 4,5 stars and after enlarging I have 3. This span has an inline width defined and I do not know where to change it. I enclose a screenshot so you can see what I am talking about

    Regards
    Bogusz

    Attachments:
    You must be logged in to view attached files.
    #203815
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Can you provide the link to that specific product?
    -Rui

    #203818
    HoGo
    Member
    Post count: 92
    #203825
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Try the code below.

    .single-product .star-rating span {
        width: initial!important;
    }

    -Rui

    #203828
    HoGo
    Member
    Post count: 92

    Hi,

    It is better but not good. It shows now 4 stars and it should 4.5

    Bogusz

    #203830
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    It’s showing 4.5 to me.

    Screenshot from your site
    https://www.dropbox.com/s/zessofjvqa56kd3/Screenshot%202015-08-13%2018.22.44.png?dl=0

    Try to clear the cache.
    -Rui

    #203858
    HoGo
    Member
    Post count: 92

    Clearing cache did not help 🙁 This is how it looks on my side

    Attachments:
    You must be logged in to view attached files.
    #203860
    HoGo
    Member
    Post count: 92

    On the product lists on the other hand it shows all five stars.

    #204216
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Well I realized that my solution only works in the Chrome browser. Will have to forward this one to our head developer.

    -Rui

    #204329
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Unfortuatnely this isn’t possible – the way the number of stars is shown is through javascript within the WooCommerce files. This calculates the width based on the number of stars, not something you can override with css.

    If you need this, you’d need to reach out to WooCommerce support to find a solution.

    – Ed

Viewing 15 posts - 1 through 15 (of 23 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register