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

[Skye] How to change date format in Blog Index


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,

Share this post

Link to post

2 answers to this question

Recommended Posts

  • 0

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.  


Please hit LIKE to share your appreciation of posts that are helpful or useful. 

The like button is somewhere over thereover-there.jpg

Of course, Likes don't pay the bills.. If you're looking for a Squarespace Developer you can hire me here

Share this post

Link to post
  • 0

Hi @colin.irwin,

First of all, thank you for answering.
I don't really understand how to implement this as I'm not familiar with JavaScript or coding in general.
I have a Business plan so I'm able to do this kind of alterations.

How would the code injection for this look like?

Thank you once again,

Share this post

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