Jump to content

Move drop down to product description

Recommended Posts

Site URL: https://www.supercatalystlab.com/shop/p/e-01-wallet

Hi there! I wish to move dropdown from additional info to under main product information, Feature & Spec tab is using markdown in the additional info section. There isn't any markdown option in the main product information box, so I kept it in the additional info section. The code I used for dropdown is below. 

 

<!-- Dropdown Accordion Code -->

</script>

 

<script>

    $(document).ready(function(){

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

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

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

      

      $(this).nextUntil("h3").slideToggle();

      $(this).toggleClass('ui-closed ui-open');

      });

    });

    </script>

Screen Shot 2021-08-12 at 10.55.23 PM.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 4 months later...
On 1/8/2022 at 6:25 PM, jakelyd said:

hi Tuanphan me again, I would like to know if its possible to put product descriptions into a drop down so it doesn't look as long

url massage gun — MY RECOVERY (myrecoveryuk.co.uk) 

The url doesn't exist

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

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