Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
johnreyna

How to give style to an specific item based in tag or category

Question

For products with status sold out, we added this SOLD medallion at the top right side of the product image (like this one https://www.matthewrachmangallery.com/cowhides/18?rq=TRICOLOR%20GENUINE%20BRAZILIAN%20COWHIDE)

Check here --> https://prnt.sc/pbu6se

We want to add a new status called IN HOLD, however, we could not find an option to add this in the system, we were thinking if it is possible to add in IN HOLD medallion based on the tag or category of an item, for example, if we put "inhold" tag to a certain item then the SOL medallion should be displayed.

Is this possible? if yes, could you point us how to achieve this based on tag or category?

If not, what would you suggest?

Edited by johnreyna
Initial Revision

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 0

@johnreyna I just checked. Products in a certain category will have the same CSS Class. Can you send a product url (setup tag)? I will try to check if it is correct for the tag?

eg. .category-spotted-tricolor.tag-018.author-martha-morimoto

Share this post


Link to post
  • 0

@johnreyna Add to Home > Design > Custom CSS. It will add an "inhold" button below Price, for all products belong Inhold tag.


.tag-inhold .sqs-money-native:after {
   content: "Inhold";
   display: block;
   margin-top: 20px;
   width: 70px;
   background: #000;
   color: #fff;
   padding: 10px 20px;
   text-align: center;
   border-radius: 50px;
}

5 minutes

Tuan Phan - Squarespace Developer

Edited by tuanphan

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...