Quantcast
Viewing all articles
Browse latest Browse all 11091

CharlesTop commented on [NEW] Product Reviews App by Shopify

A quick way to "hide" the date for reviews would be to create a new .scss.liquid file under Assets, example review-hide-date.scss.liquid.

Paste the follow code into review-hide-date.scss.liquid (Save):

//start of hide date code
  .spr-review-header-byline {

    color:#878A69; //<-- insert color of #shopify-product-reviews element
    font-size:1px !important;
    strong {
      font-size:13px;
      color:#FFF; //<--insert color of text for review Author      
    }
    strong:nth-child(2) {
      display:none; 
    }
  }

//end of code

In your theme file you can load the scss for your "product" tempate.

  {% if template == 'product' %}     
	{{ 'review-hide-date.scss.css' | asset_url | stylesheet_tag }} 	
  {% endif %}

 


Viewing all articles
Browse latest Browse all 11091

Trending Articles