Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    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!

    Thread Starter sanjas

    (@sanjas)

    Hi Juan,

    thanks for your reply. It worked perfectly.

    Have a nice day!

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hi there,

    Perfect! We are glad to have helped you :). We will mark this topic as resolved.

    Have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing button color’ is closed to new replies.