Jump to content

divar

Member
  • Posts

    33
  • Joined

  • Last visited

Reputation Activity

  1. Like
    divar reacted to tuanphan in How to add 'add to cart' button in Shop block   
    Try this plugin.
    by @ThompsonWebDesign
  2. Like
    divar reacted to veganedge in How To Install + Dropdown Accordion in a Product Description   
    try the code above, but make the order: 8... I think that would be it.  if not, you'll see the change and adjust again (7 or 9)
  3. Like
    divar reacted to rwp in How To Install + Dropdown Accordion in a Product Description   
    OHHHH. I think I see the issue.
    You might have put some of the CSS in the code injection block.
    So delete both codes from above replace with this (code injection)
    <script> window.Squarespace.onInitialize(Y, function() { $('.ProductItem-additional .markdown-block').insertAfter('.ProductItem-details-excerpt'); $('.markdown-block .sqs-block-content h3').addClass('ui-closed').css('cursor', 'pointer'); $('.markdown-block .sqs-block-content h3').nextUntil('h3').slideUp(); $('.markdown-block .sqs-block-content h3').click(function() { if ($(this).nextUntil('h3').is(':hidden')) { $('.markdown-block .sqs-block-content h3').nextUntil('h3').slideUp(); $('.markdown-block .sqs-block-content h3').removeClass('ui-open'); $('.markdown-block .sqs-block-content h3').addClass('ui-closed'); $(this).nextUntil('h3').slideDown(); $(this).toggleClass('ui-closed ui-open'); } else { $(this).nextUntil('h3').slideUp(); $(this).toggleClass('ui-closed ui-open'); } }); }); </script> Then add this to Design -> Custom CSS
    .markdown-block p { margin-left: 1em; } .markdown-block .ui-closed:before { font-family: monospace; content: "+ "; color: #2DA9C6; } .markdown-block .ui-open:before { font-family: monospace; content: "- "; color: #2DA9C6; }  
  4. Like
    divar reacted to rwp in How To Install + Dropdown Accordion in a Product Description   
    Put this in the header code injection
    <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>  
  5. Thanks
    divar reacted to rwp in How To Install + Dropdown Accordion in a Product Description   
    Add this to custom CSS
    .markdown-block { order: 5; }  
  6. Like
    divar reacted to tuanphan in How To Install + Dropdown Accordion in a Product Description   
    You can add to additional info, then share url again. We can give the code to move it to description
×
×
  • 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.