Hi can you please help me with the CSS code? I want to change the color of the button that says add to bag. make the outline white, inside ‘‘9D9898’’ and the colour of letter black
URL: matibrnd.com
password: biangu
A user seeks CSS code to customize an \
Hi can you please help me with the CSS code? I want to change the color of the button that says add to bag. make the outline white, inside ‘‘9D9898’’ and the colour of letter black
URL: matibrnd.com
password: biangu
Hi @MT27
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
button.product-form__submit:after {
box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgba(255, 255, 255, 1), 0 0 0 var(--buttons-border-width) rgba(255, 255, 255, 1);
}
button.product-form__submit:before {
box-shadow: none;
}
button.product-form__submit {
background: #9D9898;
color: black;
}
And save.
result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you it worked!! can you please also tell me how to change the text?
Do you want to change the color of the text @MT27 ?
no the actual text
Do you want change text “Add to bag” to other text @MT27 ?
yes too ‘‘Add to Cart’’
Do you want like this @MT27 ?