Hi there,
we hope you’re doing well!
In order to achieve what you need, you have to copy the style.css file located in wp-content\plugins\yith-woocommerce-gift-cards\templates\emails\ and paste it in wp-content\themes\[your active theme folder]\woocommerce\emails\. If you don’t have the woocommerce and/or emails folders, you must create them. Then, in the file that you have pasted, you must modify the following CSS rule to be able to change the color of the button:
.ywgc-discount-link {
color: white;
font-weight: 700;
text-decoration: none;
background-color: #557da1;
display: inline-block;
padding: 8px 15px;
border-radius: 5px;
text-transform: uppercase;
font-size: 13px;
}
There, to change the background color of the button, you must modify the attribute “background-color”, and to change the color of the text, the attribute “color”. For example:
color: black;
background-color: yellow;
Try it and tell us any questions.
Have a nice day!