Changing the WooCommerce banner colour for 'product added to basket'

Solved2 replies2 participantsUpdated by ianbarker24

  • Avatar: ianbarker24
    ianbarker24
    Participant

    Hi

    Can you tell me the css code needed to change the background colour of the ‘product added’ popup message when a product is selected to the cart please? It is the default green at the moment and I would like to change it in tune with my theme colours, i.e. #4f3b4a.

    I’m also getting a warning that Max Input Vars is 1000 which is the minimum required. How do I increase this please?

    Many thanks

    2 Answers

    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello ianbarker24

    Thank you so much for contacting us!

    Add this code in Theme Options > Theme custom CSS:

    .sticky-message-on .content-page .woocommerce-message {
        background-color: #4f3b4a !important;
    }
    .et-notify[data-type=success] {
      background: #4f3b4a;
    }

    Read more – https://www.8theme.com/documentation/xstore/theme-installation/xstore-theme-requirements/

    The PHP Max Input Vars is the maximum number of variables your server can use for a single function. To work properly with a modern WordPress theme set this value to 3000. If the value is too low, you may experience problems such as can’t save menu settings when added a lot of items there.

    Robert Hall

    Avatar: ianbarker24
    ianbarker24
    Participant

    Thank you

The issue related to '‘Changing the WooCommerce banner colour for 'product added to basket'’' has been successfully resolved, and the topic is now closed for further responses