Jump to content

Change Product Form Text

Recommended Posts

  • Replies 2
  • Views 521
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 10/21/2021 at 11:48 PM, jilldiane_ said:

Site URL: https://helix-marigold-76hn.squarespace.com/

Hello! Anyone know if its possible to change the text inside the product form button without changing the button text on the actual product page. Eg on the product page i want the button to say "Place Order" but on the form button "Add to Cart"

 

Thanks!

 

PW: 1234

Add to Design > Custom CSS

/* Change form popup button text */
body.collection-type-products.view-item .form-inner-wrapper .form-button-wrapper {
    display: inline-block;
    position: relative;
}
body.collection-type-products.view-item .form-inner-wrapper .form-button-wrapper input {
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    top: 50%;
    z-index: 99999;
    opacity: 0;
}
body.collection-type-products.view-item .form-inner-wrapper .form-button-wrapper:before {
    content: "Add to Cart";
    background-color: black;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
}

 

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.