Squarespace accordion is pretty simple for the time being, the only 2 things it’s supporting are text and links. How about images? In this video I will show you a workaround in 3 steps with javascript to make your accordion image-friendly!
Blog article:
(on the bottom of the article you have the javascript code)
If the blog is temporarily down please use the github page:
https://github.com/jozsefkerekesve/ui-corner-with-J/blob/main/accordion-with-images.js
P.S. How many times did I just say “Image”…well, maybe too many times !
Intro [0:00]
Step 1 – adding a bolded text [1:03]
Step 2 – adding a link on the bolded text [1:54]
Step 3 – writing the javascript code [ 4:02]