Jump to content

change color of quantity text in quickview

Recommended Posts

  • Replies 5
  • Views 413
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Can you share your website URL and the page?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Hey @Analissa - no need to share a link if you're using version 7.1! 

The code for customizing quantity color in a  lightbox is:

.sqs-product-quick-view-content .product-quantity-input input{color: #FFF!important;}


And the code for an add to cart button hover color in a quick view lightbox is:

.sqs-product-quick-view-content .sqs-add-to-cart-button:hover{background: blue!important; opacity:1!important}

 

Change up the word blue to any color code or websafe color name that you want to use!

Code source - my blog: https://insidethesquare.co/squarespace-tutorials/

🤓 Creator of InsideTheSquare.co
SQUARESPACE CIRCLE LEADER SQUARESPACE EXPERT SQUARESPACE EMPLOYEE EDUCATOR CERTIFIED CUSTOM CODE EXPERT

🗺️ New to Squarespace? Get your free roadmap: insidethesquare.co/roadmap
🙋‍♀️ New to CSS? Learn the basics for free: insidethesquare.co/learn
️ Ready to go pro? Get my custom code collection: insidethesquare.co/css

 

BeccaHarpain.gif.236d6ddd88c7d637645b762799f501a8.gif

 

Link to comment
On 6/6/2023 at 1:32 PM, inside_the_square said:

Hey @Analissa - no need to share a link if you're using version 7.1! 

The code for customizing quantity color in a  lightbox is:

.sqs-product-quick-view-content .product-quantity-input input{color: #FFF!important;}


And the code for an add to cart button hover color in a quick view lightbox is:

.sqs-product-quick-view-content .sqs-add-to-cart-button:hover{background: blue!important; opacity:1!important}

 

Change up the word blue to any color code or websafe color name that you want to use!

Code source - my blog: https://insidethesquare.co/squarespace-tutorials/

Thank you so much, this helped a lot. Is there a code to change the hover color in the regular product page?

Link to comment
On 6/7/2023 at 3:51 PM, Analissa said:

Thank you so much, this helped a lot. Is there a code to change the hover color in the regular product page?

Totally! All you need to do is remove the parent selector of ".sqs-product-quick-view-content" from both lines of code and it will work on an individual product page. 

🤓 Creator of InsideTheSquare.co
SQUARESPACE CIRCLE LEADER SQUARESPACE EXPERT SQUARESPACE EMPLOYEE EDUCATOR CERTIFIED CUSTOM CODE EXPERT

🗺️ New to Squarespace? Get your free roadmap: insidethesquare.co/roadmap
🙋‍♀️ New to CSS? Learn the basics for free: insidethesquare.co/learn
️ Ready to go pro? Get my custom code collection: insidethesquare.co/css

 

BeccaHarpain.gif.236d6ddd88c7d637645b762799f501a8.gif

 

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.