How to add text UNDER checkout button

To add text under the checkout button in Squarespace, you can follow these.

#1. Add a Text Block in the Site Footer

something like this

#2. Use this tool to find ID of Text Block. In my example, we will have:

  • #block-yui_3_17_2_1_1720339528786_4130

#3. Use this code to Custom CSS box to hide Text Block from Footer

footer.sections #block-yui_3_17_2_1_1720339528786_4130 {
display: none !important;
}

image

#4. Use this code to Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
window.addEventListener("load", (event) => {
    $('#block-yui_3_17_2_1_1720339528786_4130').insertAfter('button.cart-checkout-button');
});
</script>

#5. Result