Jump to content

Adding Reserved Tag To Be Displayed on Landing and Product Page

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

OK, well you haven't provided much information here, but you do have some options. when you tag products in squarespace it creates a class on the main article element called tag-<yourtagnamehere>. this means that you can do something like this to add a label after your product title.

article.tag-reserved h1.ProductItem-details-title::after {
    display:block;
    content:'reserved';
    font-size:16px;
    padding:10px;
    background:grey;
    color:white;
    border-radius:5px;
    width:fit-content;
    line-height:100%
}

you can format it however you want by changing the css, but this should be enough to solve your problem.

Dave Hart. Software/Technology Consultant living in London. buymeacoffee 

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.