Grisdorn Posted August 24, 2022 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; }
Beyondspace Posted August 30, 2022 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? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Grisdorn Posted September 1, 2022 Author 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment