-
Posts
35 -
Joined
-
Last visited
Reputation Activity
-
bradgood got a reaction from CarolStatella in Double tap required on mobile text link
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>
-
bradgood got a reaction from tuanphan in Double tap required on mobile text link
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>
-
bradgood got a reaction from rditty in How do I move the social links position on the Wells template?
I would recommend the following CSS. Bottom position matches default bottom padding on the content area.
#footerBlocks-2 {
position: fixed;
bottom: 50px;
}
-
bradgood got a reaction from MatthewNakatani in How to add 'add to cart' button in Shop block
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
-
bradgood got a reaction from mcmhen in How to add 'add to cart' button in Shop block
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