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


If you're looking for a Squarespace Developer, drop me a line. 

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.