Hello!
I am having issues changing the quantity selector and form fields on Venture.
Change Background Color of Quantity Selector
Change Color of Number
Make Quantity Selector Corners Round
Also, how do I change the color in the background of from fields?
Any assistance is appreciated!
Thank you!
Cheers,
Shannon
@Shannon92 - can you please share this page link? we will need css changes for it
@Shannon92
Please share your store URL I will check and send a solution for you.
Thanks!
yocave
January 14, 2022, 4:45pm
6
Hi @Shannon92
Please go in to your theme.scss.liquid file and follow me:
.js-qty__input {
width: 100%;
padding-left: $width-qty-btn;
padding-right: $width-qty-btn;
text-align: center;
background:#4ecdc4; <- Background Color of Quantity Selector
color:#1a535c; <- Color of Text in Quantity Selector
border-radius:10px; <- Make Quantity Selector Corners Round
}
If you want to change color of hover you must change this:
.js-qty__adjust {
position: absolute;
top: 0;
bottom: 0;
text-align: center;
width: $width-qty-btn;
padding: 0;
background: none;
border-style: solid;
border-color: adaptive-color($color-form, 5%);
border-width: 0;
transition: background-color 0.03s ease-in;
&:hover,
&:focus {
background-color: adaptive-color($color-form, 5%); <- HOVER OF QUANTITY SELECTOR
transition-duration: 0.08s;
}
And one more thing for Rounded Corners , Add this :
.js-qty__adjust--minus {
left: 0;
border-right-width: 1px;
border-top-left-radius:10px; <- ADD THIS
border-bottom-left-radius:10px; <- ADD THIS
}
.js-qty__adjust--plus {
right: 0;
border-left-width: 1px;
border-top-right-radius:10px; <- ADD THIS
border-bottom-right-radius:10px; <- ADD THIS
}
And thats it I hope I helped.
Wow! You’re a rockstar! Worked perfectly!