Jump to content

Can I change the add to cart button color for a product block in Moksha?

Recommended Posts

I am using the Moksha template and want to make the add to cart button a different color. When i try in style editor it also changes the submit button on the contact us email block. i used this css but it did not work.

.product-block .buy-button, .product-block .sqs-add-to-cart-button { font-size: 18px; background-color: #ff9900; padding: 1em 1em !important; }

is the code wrong or is it just not possible?

my website is www.christaylormft.com

the page I'm trying to change is www.christaylormft.com/back-to-basics-sales-page

Link to comment
  • Replies 5
  • Views 3.9k
  • Created
  • Last Reply

@ctaylor281 You mean Buy Now button? Add to Home > Design > Custom CSS


.sqs-add-to-cart-button {
   background: #f1f2f3 !important;
   border-color: #ff0000 !important;
   padding: 20px 50px !important;
   font-size: 30px !important;
}




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
  • 8 months later...
On 9/8/2019 at 7:30 AM, tuanphan said:

@ctaylor281 You mean Buy Now button? Add to Home > Design > Custom CSS



 

.sqs-add-to-cart-button {
   background: #f1f2f3 !important;
   border-color: #ff0000 !important;
   padding: 20px 50px !important;
   font-size: 30px !important;
}




Thanks for the code Tuan ! worked beautifully 🙂
 

 

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.