Select Page

Center Align Star Ratings

Home Forums Support Center Align Star Ratings

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Helpful
    Up
    0
    Down
    Not Helpful

    Howdy!

    I am making the switch from the Divi kingdom product builder to body commerce fully now, and have one hiccup to deal with that I can’t figure out.

    In the Product Rating loop module, I am not able to get the stars center aligned with the rating text. There are two sections for centering the Text and the Rating Text in the Design tab, and neither of those does the stars.

    Here is the page I am working on to make it happen: https://staging-wellspringcbd.kinsta.cloud/cbd-lotions-patches/merkabah-labs-recovery-salve/

    Thank you

    Helpful
    Up
    0
    Down
    Not Helpful

    Cool – thanks for this. Let me take a look at this for a future update. In the meantime you can use the following CSS to center it:

    .woocommerce .et_pb_db_rating .woocommerce-product-rating .star-rating {
        float: none;
        margin: auto;
    }
    

    Let me know if this works?

    Helpful
    Up
    0
    Down
    Not Helpful

    Like a charm. Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.