Jump to content

change color of quantity text in quickview

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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/

Code queen and CSS behind InsideTheSquare.co

😃 Free CSS tutorials: insidethesquare.co/tutorials-for-squarespace
🥳 Free 7.1 training course: itssevenone.com/training
👍 CSS Cheat Sheet - codes for 7 & 7.1: insidethesquare.co/css
📚 CSS for Squarespace course: customcodeacademy.com

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/8/2023 at 5:51 AM, Analissa said:

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

Can you share link to a product?

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

Code queen and CSS behind InsideTheSquare.co

😃 Free CSS tutorials: insidethesquare.co/tutorials-for-squarespace
🥳 Free 7.1 training course: itssevenone.com/training
👍 CSS Cheat Sheet - codes for 7 & 7.1: insidethesquare.co/css
📚 CSS for Squarespace course: customcodeacademy.com

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.