How to implement a live clock with JavaScript on my website?

Hello everyone,

I have made a post about this before - and while the code I was given did somewhat work, it wasn’t exactly what I was looking for, so let me try and explain and see if anybody knows how this can be done..

clock.png

So that is on another website that is running the same theme as me, (www.foulplay.co) for reference, we both run Minimal. While I do know it is a javascript, I can’t figure out what it is to make it display this way. I was given code but it displayed the date and time wrong. I was hoping by linking their website, so you can see what shows up for the script, someone might be able to help implement it on my store.

My store link is (www.deranged-shop.com) and you will find the one I currently use in the footer.

Any help would be great! This script is just used for a design purpose.

I’m Richard Nguyen - CRO Expert at PageFly - Free Landing Page Builder.

If you want to have the same design you have to use the same code as the reference web site here

You can use the code here i have found it on your reference website and i can use it properly.
You can paste this code in theme.liquid file above the


The last thing you need to do is change this id here to => ‘ct7’

This is wrong id. The correct id is below

Hope this can help you solve the issue

Best regards,

Richard

1 Like