Grisdorn Posted August 24, 2022 Share Posted August 24, 2022 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; } Link to comment
Beyondspace Posted August 30, 2022 Share Posted August 30, 2022 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; } What is your site-wide password? Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword HighlighterIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Grisdorn Posted September 1, 2022 Author Share Posted September 1, 2022 On 8/30/2022 at 11:23 AM, bangank36 said: What is your site-wide password? Sorry, I thought I added it to the original post. 12520Aardvark Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment