Jump to content

bradgood

Circle Member
  • Posts

    35
  • Joined

  • Last visited

Everything posted by bradgood

  1. This is a JavaScript/jQuery solution, and site-wide animations can remain enabled. Timeout is optional but will allow the animation to be visible before the page redirects. <script> $('.sqs-html-block a').on('touchstart', function () { var href = $(this).attr('href'); setTimeout(function(){ window.location.href = href; }, 100); }); </script>
  2. This is a JavaScript/jQuery solution, and site-wide animations can remain enabled. Timeout is optional but will allow the animation to be visible before the page redirects. <script> $('.sqs-block-button a').on('touchstart', function () { var href = $(this).attr('href'); setTimeout(function(){ window.location.href = href; }, 100); }); </script>
  3. I would recommend the following CSS. Bottom position matches default bottom padding on the content area. #footerBlocks-2 { position: fixed; bottom: 50px; }
  4. I just had a client ask me for something very similar! Google around I found this post, and thought I would share my solution... It was not manageable to add hundreds of product blocks and the summary block doesn't contain the item-id needed to link it to an Add to Cart button. It was best to use the product list page. I figured out a solution that works great on desktop and mobile. https://www.bradgood.net/articles/how-to-add-an-add-to-cart-button-to-a-squarespace-product-list-page
×
×
  • 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.