Jump to content

accordion menu not working on live page

Recommended Posts

Site URL: https://millimetrearchitecture.com/legal-stuff

hi All,

I install a code block :


<script type="text/javascript"

 $('.markdown-block .sqs-block-content h3').css('cursor','pointer');

 $(".markdown-block .sqs-block-content h3").nextUntil("h3").slideToggle();

 $(".markdown-block .sqs-block-content h3").click(function()


and mark down to insert an accordion menu:

it works perfectly on my page when I am editing it but on the live page it shows all open. Does some knows what is the problem?


Link to comment
  • Replies 1
  • Views 580
  • Created
  • Last Reply

Hi. I see it worked here. Sometimes you need to disable ajax loading to make code work properly (Home >Design > Site Styles).

Also you can try this Accordion plugin. Easy to install/customize without using code sytanx like as above.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.