I have created a new section where I am adding multiple content blocks but have run into an issue that I am hoping for some help with.
I’d like to add functionality where the first 6 content blocks are added to the page and anything over 6 gets put behind a Show More/ Show Less button to expand & collapse the content.
For ease, I’ve simplified the content that gets written just to show as an example.
I saw an example of a script that I just can’t get to work properly. In this case, I just have the size integer sset to 4 to try and force it on my dummy content.
Any help would be appreciated.