Jump to content

Custom blog tag colors

Recommended Posts

I have a bit of code that applies color to tags in my summary blocks

.summary-metadata-item--tags a{
    color:#3b5ed8!important;
    background:#ced7f5!important;
    padding: 2px 4px 2px 4px;
    border-radius:4px;
  }

Is there a way I can make this color formatting conditional based on the tag name?

Link to comment
  • Replies 1
  • Views 412
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.