• Resolved kirstythomson

    (@kirstythomson)


    Hi

    When my customers add to cart this triggers the default “product added to cart” and the View cart button (which is what I want).
    The problem is that the text is in white and the background is the same colour as the View cart button so people are not seeing it. Is it possible to change the text to the default dark text colour with a white backdrop and leave the button as is? (This seems to be the default on other themes.)

    Thank you for any help here

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @kirstythomson,

    Thanks for choosing Neve!

    It’s possible to set the background color of that notification to white and the text color to black, while keeping the colors of the buttons the same as before, by inserting the code below in the Additional CSS section within the Customizer.

    .single-product .woocommerce-message {
        background-color: white !important;
        color: black !Important;
    }
    
    .single-product .woocommerce-message .button{
        background-color: var(--nv-c-1) !important;
        color: white !important;
    }

    Have a nice day!

    Thread Starter kirstythomson

    (@kirstythomson)

    Hi

    Thank you for replying. Unfortunately it didn’t work.

    Regards

    Kirsty

    Hi @kirstythomson!

    I checked your site again and I can see the WooCommerce notification in the colors that I understand you wanted it to have – screenshot. If you still see the notification in the original colors, you should clear the cache (browser and plugin, if you use any caching plugin).

    Have a nice day!

    Thread Starter kirstythomson

    (@kirstythomson)

    Hi

    Thank you for your time.

    I changed the theme to Astra and that is working nicely now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change style setting for default product added to cart message’ is closed to new replies.