How to use custom CSS for Shopify product reviews?
The review section of your store is a crucial component that gives it credibility and helps in gaining the customer's trust. In this documentation, we will explore the custom CSS that you can use to adjust the design of your review section to suit your brand and store's aesthetics. Regardless of your CSS skills, this will surely help you modify the appearance of the review section of your Shopify store.
Please note that this feature is only available on ReviewXpo Premium Plans.
So let’s see how the ReviewXpo review section looks when used in a default version.
Once you click on the “Write a review” button, you will see the review submission form.
So, as you can see we have divided the review section into three parts for better understanding.
- Review Summary Area
- Review List
- Review Form
Now we will look into each part and explore the CSS you will need to customize your Shopify store review section.
- Review Summary Area
For the “Review Summary Area”, ReviewXpo is offering three styles that you can use. Below, we will be demonstrating the styles and the available CSS you can use to customize each of them.
1. Summary Style - Top
CSS:
- rvxp_top_container
- rvxp_top_title
- rvxp_preview_write_review_btn
- rvxp_preview_write_review_btn_content
- rvxp_stat_inner_container
- rvxp_stat_header
- rvxp_stat_wrapper_container
- rvxp_stat_summary
- rvxp_stat_summary_rating_icon
- rvxp_stat_summary_container
- rvxp_stat_progress_container
- rvxp_preview_top_container
- rvxp_preview_top_title
- rvxp_preview_dropdown_container
2. Summary Style - Dropdown
CSS:
- rvxp_top_container
- rvxp_top_stats_and_star
- rvxp_stats_dropdown
- rvxp_avg_rating_preview
- rvxp_preview_top_container
- rvxp_preview_write_review_btn
- rvxp_preview_write_review_btn_content
- rvxp_stat_inner_container
- rvxp_stat_header
- rvxp_stat_summary
- rvxp_stat_summary_rating_icon
- rvxp_stat_summary_container
- rvxp_stat_progress_container
3. Summary Style - Left
CSS:
- rvxp_top_container
- rvxp_top_title
- rvxp_preview_dropdown_container
- rvxp_preview_write_review_btn
- rvxp_preview_write_review_btn_content
- rvxp_stat_inner_container
- rvxp_stat_header
- rvxp_stat_summary
- rvxp_stat_summary_rating_icon
- rvxp_stat_summary_container
- rvxp_stat_progress_container
Here, you can use these CSS to modify your Review Summary Area to your preference. And to learn more about how you can customize your Review Summary Area check, How to design your review section with ReviewXpo’s advanced widget customization panel?
- Review List
Now let’s move to the second section “Review List”, and explore the available CSS you can use to modify this section.
CSS:
- rvxp_review_card_style
- rvxp_reviewer_name_container
- rvxp_reviewer_name
- rvxp_review_created_time
- rvxp_gravater
- rvxp_review_rating
6.1. rvxp_review_rating svg - rvxp_review_attachments_container
- rvxp_review_feedback
- rvxp_review_reply_heading
- rvxp_review_review_reply_accent
10.1. rvxp_review_review_reply_accent svg - rvxp_review_replier_name
- rvxp_review_owner_reply
- Review Form
As for the third section, we have the “Review Form”. Now let’s go into details about the CSS you can use to modify the review submission form.
CSS:
- rvxp_form_container
- rvxp_form_top_container
- rvxp_form_top_title
- rvxp_form_close_btn
- rvxp_form_product_details
- rvxp_form_product_image
- rvxp_form_product_title
- rvxp_form_product_rating
8.1. rvxp_form_product_rating_btn - rvxp_form_review_title
- rvxp_form_review_title_name
- rvxp_form_review_title_field input
- rvxp_form_reviewer_feedback
- rvxp_form_review_feedback_name
- rvxp_form_review_feedback_field textarea
- rvxp_form_reviewer_name
- rvxp_form_reviewer_name_title
- rvxp_form_reviewer_name_field input
- rvxp_form_reviewer_email
- rvxp_form_reviewer_email_title
- rvxp_form_reviewer_email_field input
- rvxp_form_review_attachments
- rvxp_form_review_attachments_title
- rvxp_form_review_attachments_field
- rvxp_form_submit_button
24.1. rvxp_form_submit_btn
Customizing the review section using custom CSS involves modifying the code of your store's theme, so it's important to be cautious. Additionally, it's recommended to have some basic knowledge of CSS and HTML to ensure that the modifications are implemented correctly. However, with the proper approach and focus, customizing your Shopify store's review section with custom CSS can help increase the appeal of your store and give your customers a better shopping experience.
For further queries please contact us, we'll always be there to help you!