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

Can you define categories with specific colours?


JButler
Go to solution Solved by RyanDejaegher,

Question

For an events summary section, I would like to make different categories appear in specific colours under the event thumbnail. Is this possible? For example, 'Category A' will appear in green text, and 'Category B' will appear in red etc...

Thanks!

Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

@JButler yes you can customize the style for category links, you'll need to copy the link/url and copy it to the code below. You can do this with blog categories or shop categories.  /* Add this c

Posted Images

2 answers to this question

Recommended Posts

  • 0

@JButler yes you can customize the style for category links, you'll need to copy the link/url and copy it to the code below. You can do this with blog categories or shop categories. 

/* Add this code to Design -> Custom CSS */

a[href="/shop?category=tumblers"] {
  color: red;
}

a[href="/shop?category=straws"] {
  color: blue;
}

Here's an example from another site with this code in place
image.thumb.png.cd0eaf57f876fa426a577019cc2b391b.png

Philadelphia, PA

👉 Squarespace Tutorials 

Chat/Message on FB Messenger for quickest responsehttps://m.me/dejaegherryan

 

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