Jump to content

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

Go to solution Solved by tuanphan,

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

Edited by ctaylor281
Initial Revision
Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

@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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

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.