Jump to content

Apply a 2nd button color in the product page

Recommended Posts

Site URL: http://motsjo.com/shop

Hello there!

I have trouble with buttons colors on the product pages. There is a "contact" (me contacter) button in my header, and the "add to cart" (ajouter au panyeah) one. Problem is I have code color, 'blue' for contacting me and 'green' for purchasing. Do you know if there is a way to determine 2 different button colors in the product pages?

Joy

Link to comment

Hi do you want to change color of all buttons on the site or just the product page?

Try to add this into Design->Custom css to see

.header-actions-action--cta a.btn--border {
  background-color: blue;
  border-color: blue;
}
.sqs-add-to-cart-button-wrapper .sqs-add-to-cart-button[role="button"] {
  background-color: green;
  border-color: green;
}

image.thumb.png.4aaba784d4505c2d831ee1c7a4c8fa85.png

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Thank you for your answer! Yes, I just want to change the product page button for adding to cart.

 

I tried that in Custom CSS :

.header-actions-action--cta a.btn--border {
  background-color: #0068F0;
  border-color: #0068F0;
}
.sqs-add-to-cart-button-wrapper .sqs-add-to-cart-button[role="button"] {
  background-color: #17B01D;
  border-color: #17B01D;
}

But nothing changed 🙃

Link to comment
2 minutes ago, Mots-Jo said:

Thank you for your answer! Yes, I just want to change the product page button for adding to cart.

 

I tried that in Custom CSS :

.header-actions-action--cta a.btn--border {
  background-color: #0068F0;
  border-color: #0068F0;
}
.sqs-add-to-cart-button-wrapper .sqs-add-to-cart-button[role="button"] {
  background-color: #17B01D;
  border-color: #17B01D;
}

But nothing changed 🙃

Did you still keep it in the custom css, I can have a look

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.