Home Forums Basel support forum Create a review, stars don't change once clicked.

Create a review, stars don't change once clicked.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #40167

    debijohnson
    Participant

    I’ve noticed when someone is creating a review, when you click on the appropriate stars, they don’t change to any other color so you don’t see anything is selected.
    http://dev.silverstateapparel.com/product/reno-short-sleeve/

    Also, I’m wondering if there is short code (or another way) to put a size guide on a separate page?

    Attachments:
    You must be logged in to view attached files.
    #40196

    Artem Temos
    Keymaster

    Hi,

    Try to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue

    div.single-product-content .comment-form .stars span a:hover, 
    div.single-product-content .comment-form .stars span a.active {
    	color: gold;
    }

    Unfortunately, there is no a shortcode for our size guide button

    div.single-product-content .comment-form .stars span a:hover, 
    div.single-product-content .comment-form .stars span a.active {
    	color: gold;
    }

    Regards

    #40755

    debijohnson
    Participant

    Thanks, that worked great.

    Is it possible to have the star ratings on the shop page?

    #40793

    Artem Temos
    Keymaster

    Hi,

    Sorry, but there is no such option in our theme.

    #41057

    debijohnson
    Participant

    I found this page: https://themeforest.net/item/basel-responsive-ecommerce-theme/14906749/comments?utf8=%E2%9C%93&term=rating+shop&from_buyers_and_authors_only=0&order_by=relevance

    I was able to add the code to the functions.php and then the custom css, and the stars are added if the filter by rating is clicked: http://dev.silverstateapparel.com/shop/?orderby=rating

    Is there a way to have to stars show on the regular shop page and not just by the filter by rating?

    #41058

    debijohnson
    Participant

    This actually works on my shop page when not sorted. I wish you could have pointed me to this but it did work!

    Added code to my functions.php file:
    remove_action(‘woocommerce_after_shop_loop_item_title’,’woocommerce_template_loop_rating’,5);
    add_action(‘woocommerce_shop_loop_item_title’,’woocommerce_template_loop_rating’,5);

    Then added custom css:
    .product.basel-hover-alt .star-rating {
    display: block;
    }

    Works just how I had hoped!

    I also added color to the stars instead of having them black by default:
    .star-rating span:before {
    color: #e87706 !important;
    }

    So I don’t know if that helped too, or just changed the color, but I’m happy it’s working!

    #41094

    Artem Temos
    Keymaster

    Great, we are glad that you found a workaround. Contact us if you have any additional questions or concerns.

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