• Resolved Person123

    (@person123)


    Hi thanks for the plugin. It looks great.

    When adding a product to the cart the user is met with a green message box. And when invalid data is entered into the checkout field boxes the user is met with a red message.

    Is there anyway to change these colours? I have a child theme but cannot find any code online at all for this.

    Thanks very much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Person123

    (@person123)

    I am using storefront theme by the way! Thanks

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi,

    When adding a product to the cart the user is met with a green message box

    div.woocommerce-message {
        background-color: #000000 !important;
        color: #000000 !important;
    }

    And when invalid data is entered into the checkout field boxes the user is met with a red message

    .woocommerce-error { 
        background-color: #000000 !important;
        color: #000000 !important;
    }

    The background-color changes the notice background color, and the color changes the actual text color

    You can modify the instances of #000000 to suit your needs.

    Also, add the custom CSS code to your customizers’ “Additional CSS” section ??

    Cheers!

    Thread Starter Person123

    (@person123)

    Great thank you so much! Worked great

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Anyway to change the colour of the messages re cart/checkout field errors?’ is closed to new replies.