Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
ctaylor281

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

Question

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

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 1

@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;
}





You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

@ctaylor281 Accept answer & upvote if it worked. Thanks


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
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 🙂
 

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...