Jump to content

[Skye] How to change date format in Blog Index

Recommended Posts

Hi all,

I'm working in the following website page:
Password: 12345678

The .date-wrapper originally shows Day and Month (29 Oct).
My goal is to showcase Month and Year (Oct 2019) in this specific page.
I've already add the following custom css line:

.collection-5d6672978931a00001370dcb .day {display: none;}

How can I get it to show the year as well?

Thanks in advance,

Link to comment
  • Replies 2
  • Views 1.4k
  • Created
  • Last Reply

The code for that time block doesn't contain a year value that can easily be made visible. However, there is a datetime stamp (highlighted below) that could be used to grab the year using JavaScript and then insert it into the date-wrapper.

To implement this solution you would need to be on a Business or Commerce plan because the Personal plan doesn't support scripting.  


I'm Colin Irwin aka silvabokis.  I've been a Squarespace designer & developer since 2013. 
I remember when it was all wild prairies round these here parts. 🐃🤠
Advice I give on here is free, though I may sometimes post an affiliate link or promote something I've written.
That reminds me.. ..you might want to check out my
Squarespace template finder or have a look at my other Squarespace tips
Speaking of tips, 💲I've got a tip jar that you're welcome to throw a few quid into if you think I've helped you. 
If you're looking for a Squarespace developer 
Book a chat or Drop me a line - first meeting is always free  


Link to comment


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.