Jump to content

Quantity Arrow Editing on Product Page

Recommended Posts

Site URL: https://atlasclayshop.squarespace.com/

I am trying to adjust the color and shape of the quantity arrows on the product page screen to better match the site theme. I have been researching the inspect page and researching for hours. So far I've determined (I think) that this is a pseudo-element, which explains why it doesn't show up on inspection. I have attempted a few pieces of code that I will list below. I am not sure if this is possible for what I want, and I know enough about CSS to adjust them to my need once I can access the element. 

 

//First code tried, used in CSS, Header, and Footer separately

<style>

input[type=number]::-webkit-inner-spin-button {

background-color: #B39E70;

}

</style>

//Second code tried, used in CSS

.ProductItem-details .product-quantity-input input[type=number]::-webkit-inner-spin-button {   
  background-color: #B39E70 !important;
  }

//Third code tried, used in CSS

.ProductItem-details .product-quantity-input input {
  -webkit-inner-spin-button-background-color: #B39E70 !important;
  }

//Fourth code tried, used in CSS

.ProductItem-details .product-quantity-input input {
  display: -webkit-inner-spin-button;   
  -webkit-inner-spin-button-background-color: #B39E70 !important;
  }

plzhelp.png

Link to comment
  • Replies 2
  • Views 375
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 8/25/2022 at 2:06 AM, Grisdorn said:

Site URL: https://atlasclayshop.squarespace.com/

I am trying to adjust the color and shape of the quantity arrows on the product page screen to better match the site theme. I have been researching the inspect page and researching for hours. So far I've determined (I think) that this is a pseudo-element, which explains why it doesn't show up on inspection. I have attempted a few pieces of code that I will list below. I am not sure if this is possible for what I want, and I know enough about CSS to adjust them to my need once I can access the element. 

 

//First code tried, used in CSS, Header, and Footer separately

<style>

input[type=number]::-webkit-inner-spin-button {

background-color: #B39E70;

}

</style>

//Second code tried, used in CSS

.ProductItem-details .product-quantity-input input[type=number]::-webkit-inner-spin-button {   
  background-color: #B39E70 !important;
  }

//Third code tried, used in CSS

.ProductItem-details .product-quantity-input input {
  -webkit-inner-spin-button-background-color: #B39E70 !important;
  }

//Fourth code tried, used in CSS

.ProductItem-details .product-quantity-input input {
  display: -webkit-inner-spin-button;   
  -webkit-inner-spin-button-background-color: #B39E70 !important;
  }

plzhelp.png

What is your site-wide password?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

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.