Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #998550

    Hello,
    I am struggling with star rating css: in the footer we have 2 widgets one with ON SALE PRODUCTS and one with FEATURED PRODUCTS
    I can set them in the proper position with
    div ul.product_list_widget .star-rating {
    margin: -25px 0 -43px -1px;
    }
    but the same class is used also in the widget in the right sidebar with the RECENT REVIEWS and this css snippet is messing up the alignment

    They should be referenced by two different names

    Also if stars are aligned properly in footer, prices will be displayed only for products which have received a rating

    Thank you Mauro

    #998562

    Hi,

    You can use following code to target your widget in footer section

    #footer div ul.product_list_widget .star-rating {
        margin: -25px 0px -43px -1px;
    }

    Best regards,
    Yigit

    #999311

    Ok thank you
    and how to display correctly RECENT REVIEWS
    div ul.product_list_widget .star-rating
    in the widget in the right sidebar in the blog post?

    Some elements are on two line and overlap

    #999497

    Hi profumopuntoit,

    Best regards,
    Victoria

    #1000252

    Hello,
    I tried to wrap as suggested
    @media only screen and (min-width: 1024px) {
    .news-thumb { height: 70px !important; width: 70px !important; padding: 0px; }
    .news-thumb img { height: 70px !important; width: 70px !important; }
    }
    but than images doesn’t look correct.
    Anyway the point of this ticket is:
    On FEATURED PRODUCTS and ON SALE widget in the footer product price is displayed only if the product has received some rating. If the product hasn’t been reviewed product price is NOT displayed at all (because is wrapped inside <div class=”star-rating”>………</div>)

    Thank you
    Mauro

    #1000357

    Hi profumopuntoit,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1000388

    Thank you,
    I will give the credential of the development site where you can work freely

    #1000434
    This reply has been marked as private.
    #1001107

    Hi profumopuntoit,

    Can you remove this function and see if the issue remains?

    Best regards,
    Victoria

    #1001286

    Hello,
    I have commented out that function in the development site and also disabled “Woocommerce Variations Table – Grid” plugin that might have influenced how prices are displayed, but it is the same

    Best regards,
    Mauro

    #1001547

    Hi Mauro,

    Best regards,
    Victoria

    #1002189

    yes, I know, for this I open this ticket
    Happens to me only? In your demo you are not using this widget in footer

    #1002497

    Hi,

    This css code works for the live site.

    #footer div ul.product_list_widget .star-rating {
        margin: 0;
    }

    The staging site’s widget markup is a little different.

    Best regards,
    Ismael

    #1002629

    Ok thank you, but why in FEATURED PRODUCTS and ON SALE widget in the footer product price is displayed only if the product has received some rating. If the product hasn’t been reviewed product price is NOT displayed at all?
    Seems that the price row is coded within the loop of the star rating and it is not correct, because price should be displayed always and not conditionally if a rating exists.
    Best regards,
    Mauro

    #1002951

    Hi,

    I didn’t notice that. Is it working properly when you remove the “wc_wc20_variation_price_format” filter?

    Best regards,
    Ismael

    #1003067

    No, it is same with or without

    At the moment that function is commented in development site

    Best regards,
    Mauro

    #1003069

    If you would like to look here are login credentials

    #1003372

    Hey!

    Thanks for the info.

    The prices are actually there but there’s a styling issue. These css codes fixed it.

    #footer div ul.product_list_widget .star-rating {
        margin: 0;
    }
    
    #top div ul.product_list_widget li a {
        height: auto !important;
        overflow: visible !important;
    }

    Best regards,
    Ismael

    #1003525

    Excellent
    Solved thank you Ismael
    Adding overflow: visible !important; would have been beyond my capacity

    Best regards,
    Mauro

    #1003621

    Hi Mauro,

    Glad Ismael helped to get it working for you!

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 20 posts - 1 through 20 (of 20 total)
  • You must be logged in to reply to this topic.